How can I stop "/etc/rc.d/rc.local is not marked executable, skipping" warning message?

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content