-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.1, rhel-9.7
-
None
-
None
-
None
-
rhel-systemd
-
None
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
x86_64
-
None
What were you trying to do that didn't work?
Get rid of this warning:
systemd-rc-local-generator[97336]: /etc/rc.d/rc.local is not marked executable, skipping.
What is the impact of this issue to you?
Cosmetic but annoying.
Please provide the package NVR for which the bug is seen:
Seen on all versions shipped with RHEL 9 and RHEL 10.
How reproducible is this bug?:
100%
Steps to reproduce
- sudo systemctl daemon-reload
- sudo dmesg --ctime (Warning shows)
- sudo chmod 0755 /etc/rc.d/rc.local
- sudo systemctl daemon-reload
- sudo dmesg --ctime (Warning disappeared)
- Update (or reinstall) sytemd
- sudo systemctl daemon-reload
- sudo dmesg --ctime (Warning shows)
Expected results
systemd provides /etc/rc.d/rc.local with 0775 permissions (or keeps user modified permissions)
Actual results
systemd provides /etc/rc.d/rc.local with 0644 permissions and overwrites user permission changes on update/reinstall.