salt
salt copied to clipboard
Salt-Minion Error: "Failed to parse service restart specifier, ignoring: $RESTART" after upgrade from 2015.8.3 to 2015.8.7
Description of Issue/Question
I am getting a salt-minion error after upgrading from 2015.8.3 to 2015.8.7.
systemd: [/usr/lib/systemd/system/salt-minion.service:11] Failed to parse service restart specifier, ignoring: $RESTART
Error occurs across all upgraded minions.
This error is mentioned here, but it isn't addressed directly in that issue.
Not sure why this line gets inserted into salt-minion.service.
# cat /usr/lib/systemd/system/salt-minion.service
[Unit]
Description=The Salt Minion
After=network.target
[Service]
EnvironmentFile=/etc/default/salt-minion
Type=simple
LimitNOFILE=8192
ExecStart=/usr/bin/salt-minion
KillMode=process
Restart=$RESTART
[Install]
WantedBy=multi-user.target
Setup
Steps to Reproduce Issue
Include debug logs if possible and relevant.
Versions Report
Salt Version:
Salt: 2015.8.7
Dependency Versions:
Jinja2: 2.7.2
M2Crypto: 0.21.1
Mako: Not Installed
PyYAML: 3.11
PyZMQ: 14.7.0
Python: 2.7.5 (default, Oct 11 2015, 17:47:16)
RAET: Not Installed
Tornado: 4.2.1
ZMQ: 4.0.5
cffi: 0.8.6
cherrypy: Not Installed
dateutil: 1.5
gitdb: 0.5.4
gitpython: 0.3.2 RC1
ioflo: Not Installed
libgit2: 0.21.0
libnacl: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.6
mysql-python: 1.2.3
pycparser: 2.14
pycrypto: 2.6.1
pygit2: 0.21.4
python-gnupg: Not Installed
smmap: 0.8.1
timelib: Not Installed
System Versions:
dist: redhat 7.2 Maipo
machine: x86_64
release: 3.10.0-327.3.1.el7.x86_64
system: Red Hat Enterprise Linux Server 7.2 Maipo
It looks like this is a duplicate of the issue here https://github.com/saltstack/salt/issues/31034
It is. My apologies.