Bug 1584317

Summary: initscripts rpm has incorrect mode for /var/log/dmesg
Product: Red Hat Enterprise Linux 7 Reporter: Andrew Schorr <ajschorr>
Component: initscriptsAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED ERRATA QA Contact: Daniel Rusek <drusek>
Severity: low Docs Contact:
Priority: medium    
Version: 7.6CC: drusek, initscripts-maint-list, jamacku, kwalker, rmullett
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: initscripts-9.49.47-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 13:17:12 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: 1630908, 1630917, 1643104, 1716963, 1719445    

Description Andrew Schorr 2018-05-30 17:16:55 UTC
Description of problem: rpm --verify -q initscripts complains about the mode for /var/log/dmesg*


Version-Release number of selected component (if applicable):
initscripts-9.49.41-1.el7.x86_64


How reproducible:
rpm --verify -q initscripts

Steps to Reproduce:
1. rpm --verify -q initscripts
2.
3.

Actual results:
.M.......  g /var/log/dmesg
.M.......  g /var/log/dmesg.old

Expected results:
No complaints.

Additional info:
sh-4.2# rpm --verify -q initscripts
.M.......  g /var/log/dmesg
.M.......  g /var/log/dmesg.old
sh-4.2# rpm -qlv initscripts | grep /var/log/dmesg
----------    1 root    root                        0 Apr 11 01:09 /var/log/dmesg
----------    1 root    root                        0 Apr 11 01:09 /var/log/dmesg.old
sh-4.2# ls -l /var/log/dmesg*
-rw-r--r-- 1 root root 68065 May 28 10:35 /var/log/dmesg
-rw-r--r-- 1 root root 68204 May 19 17:37 /var/log/dmesg.old

It looks like the mode needs to be fixed in the spec file.

Comment 2 David Kaspar // Dee'Kej 2018-05-31 08:53:16 UTC
Thank you, Andrew, for the report! I'll look into it, but I can't guarantee when the fix will make it into RHEL.7... :)

Comment 3 Andrew Schorr 2018-05-31 13:17:40 UTC
Ha. I certainly don't expect any quick results. This is just one of several rpms that started reporting this type of complaint in 7.5. It's nice to be able to run "rpm --verify -qa" to see at a glance which configuration files have been modified on a system, but these spurious mode complaints make a mess of the output in 7.5. Thanks.

Comment 5 Andrew Schorr 2018-12-06 16:44:23 UTC
FYI, this problem persists in 7.6 in initscripts-9.49.46-1.el7.x86_64

Comment 8 Jan Macku 2019-07-31 12:14:48 UTC
*** Bug 1701363 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2019-08-06 13:17:12 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-2019:2303