Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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