How can I stop "/etc/rc.d/rc.local is not marked executable, skipping" warning message?
Issue
- After every reboot or running the command
systemctl daemon-reload, the warning message is logged. Is there a way to silence these messages?
Aug 14 08:24:38 rh91-01 systemd-rc-local-generator[610]: /etc/rc.d/rc.local is not marked executable, skipping.
Aug 16 11:03:26 rh91-01 systemd-rc-local-generator[5708]: /etc/rc.d/rc.local is not marked executable, skipping.
Environment
- RHEL 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.