Bug 1760416

Summary: initscripts and systemd both own the /etc/rc.d/rc.local file but specify different permissions
Product: Red Hat Enterprise Linux 8 Reporter: jcastran
Component: initscriptsAssignee: Jan Macku <jamacku>
Status: CLOSED ERRATA QA Contact: Daniel Rusek <drusek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.2CC: initscripts-maint-list, lnykryn, ofalk
Target Milestone: rc   
Target Release: 8.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: initscripts-10.00.5-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:46:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1122832    

Description jcastran 2019-10-10 13:48:05 UTC
Description of problem:
initscripts and systemd both own the /etc/rc.d/rc.local file but specify different permissions

# rpm -qf /etc/rc.d/rc.local
  initscripts-10.00.1-1.el8_0.1.x86_64
  systemd-239-13.el8_0.5.x86_64

# rpm -qlv initscripts | grep rc.d/rc.local
  -rwxr-xr-x    1 root    root                        0 Aug 12 10:49 /etc/rc.d/rc.local

# rpm -qlv systemd | grep rc.d/rc.local
  -rw-r--r--    1 root    root                      474 Feb 26  2019 /etc/rc.d/rc.local

Version-Release number of selected component (if applicable):
initscripts-10.00.1-1.el8_0.1.x86_64
systemd-239-13.el8_0.5.x86_64


How reproducible:
Everytime

Steps to Reproduce:
1. # rpm -V initscripts

Actual results:
.M.......  c /etc/rc.d/rc.local

Expected results:
initscripts should not monitor /etc/rc.d/rc.local since systemd already owns that file.


Additional info:
RHEL 7 only systemd owned the file so filing the bug against initscripts

[root@r7 ~]# rpm -qf /etc/rc.d/rc.local 
systemd-219-67.el7_7.1.x86_64

Comment 1 Jan Macku 2019-10-17 08:42:57 UTC
This bug will be fixed in RHEL 8.2

PR: https://github.com/fedora-sysv/initscripts/pull/289

Comment 5 errata-xmlrpc 2020-04-28 16:46:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1802