Console Message:
system-rc-local-generator[4321123]: /etc/rc.d/rc.local is not marked executable, skipping.
Confirmation of Behavior:
The date time, coincide with periodic restart of the Rule-based Manager for Device Events and Files, and the Journal Service.
a. Open a server console to the actual VM
b. Login to the server via ssh
$ ssh myadminid@myserver.mindwatering.net
<enter pwd>
c. Issue the reload:
[myadminid@myserver ~]$ sudo systemctl daemon-reload
<enter pwd>
Nothing is displayed in the SSH window after entering the daemon-reload, but if we watch the server console at the same time the "... rc.local is not marked executable ..." message is displayed. Re-run reload command a couple more times, and each time will cause the console message to display each time.
View all the occurances with:
[myadminid@myserver ~]$ sudo journalctl -b | grep rc.local
<enter pwd, view all the occurances>
Workaround the Message:
a. Create the directory /etc/systemd/system-generators
[myadminid@myserver ~]$ sudo su -
<enter pwd>
[root@myserver ~]# mkdir -p /etc/systemd/system-generators
b. Create an empty systemd-rc-local-generator file:
[root@myserver ~]# touch /etc/systemd/system-generators/systemd-rc-local-generator
c. Try the reload command again:
[root@myserver ~]# sudo systemctl daemon-reload
The "... rc.local is not marked executable ..." message is no longer displayed.
previous page
|