View Issue Details

IDProjectCategoryView StatusLast Update
0000300AlmaLinux-9systemdpublic2023-04-26 09:45
ReporterYenya Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0000300: rc.local not marked executable
DescriptionOn a freshly installed AlmaLinux 9, the following message appears periodically on the system console and in /var/log/messages:

Sep 1 09:29:48 myhostname systemd-rc-local-generator[943]: /etc/rc.d/rc.local is not marked executable, skipping.

And indeed, the /etc/rc.d/rc.local file has mode 0644.
Additional Informationsystemd-250-6.el9_0.x86_64

This is probably an upstream bug - is it OK to report it here?
TagsNo tags attached.

Activities

m10k

2023-04-26 09:45

manager   ~0000865

As far as I know, this is not a bug. Systemd provides some backward-compatibility for the traditional /etc/rc.local mechanism, but it is not recommended, which is why it is disabled by default.

If you intend to use /etc/rc.local, the following might help you:
https://unix.stackexchange.com/questions/471824/what-is-the-correct-substitute-for-rc-local-in-systemd-instead-of-re-creating-rc

Issue History

Date Modified Username Field Change
2022-09-01 09:34 Yenya New Issue
2023-04-26 09:45 m10k Note Added: 0000865