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 1395818 - rpm does not verify %ghost files
Summary: rpm does not verify %ghost files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rpm
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Packaging Maintenance Team
QA Contact: Jan Blazek
Marie Hornickova
URL:
Whiteboard:
: 1568628 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-16 18:26 UTC by Jan Pokorný [poki]
Modified: 2021-12-10 14:48 UTC (History)
5 users (show)

Fixed In Version: rpm-4.11.3-34.el7
Doc Type: Release Note
Doc Text:
The "--noghost" option has been added to the "rpm -V" command This update adds the "--noghost" option to the "rpm -V" command. If used with this option, "rpm -V" verifies only the non-ghost files that were altered, which helps diagnose system problems.
Clone Of:
Environment:
Last Closed: 2018-10-30 11:34:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1584313 0 unspecified CLOSED grubby rpm mode inconsistency on /etc/sysconfig/kernel 2022-03-13 15:03:30 UTC
Red Hat Product Errata RHEA-2018:3250 0 None None None 2018-10-30 11:34:35 UTC

Internal Links: 1584313

Description Jan Pokorný [poki] 2016-11-16 18:26:43 UTC
# yum install pcs; systemctl start pcsd; systemctl stop pcsd
> [...]

# rpm -q pcs
> pcs-0.9.152-10.el7.x86_64

# rpm -qlvv pcs | grep cookiesecret
> ----------    1 root    root                        0 Sep 20 11:25 /var/lib/pcsd/pcsd.cookiesecret

# rpm -Vvv pcs |& grep cookiesecre
> [nothing]

# chgrp haclient /var/lib/pcsd/pcsd.cookiesecret

# rpm -Vvv pcs |& grep cookiesecre
> [nothing]


One would expect that all metadata except for checksum+size are tracked
and checked usual.  Desired state is that the last command will indicate
the group ownership of the file differs from a predestined one.


# rpm -q rpm
> rpm-4.11.3-21.el7.x86_64

Comment 1 Panu Matilainen 2016-11-17 07:44:35 UTC
Confirmed, this broken upstream too, probably been that way for ages/ever.

Comment 4 Jan Pokorný [poki] 2016-11-18 09:40:23 UTC
Thanks; it's important to get there, regardless time-to-notice :-)

Comment 5 Panu Matilainen 2018-01-12 11:41:47 UTC
Lest it be forgotten, if/when the patch from comment #2 is applied, this is needs to go with it to avoid other regressions: https://github.com/rpm-software-management/rpm/commit/7013a82d575309be8b7a382fcb5aa57a9f4e4635

Comment 6 Panu Matilainen 2018-04-06 08:42:04 UTC
Another fix this will need is the POPT_BIT_CLR -> POPT_BIT_SET change from https://github.com/rpm-software-management/rpm/commit/efd696d32d343b82832dd9e4aee992bff8e64ad0 - and why not documentation as well.

Comment 8 Pavlina Moravcova Varekova 2018-06-20 08:52:46 UTC
*** Bug 1568628 has been marked as a duplicate of this bug. ***

Comment 15 errata-xmlrpc 2018-10-30 11:34:10 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/RHEA-2018:3250


Note You need to log in before you can comment on or make changes to this bug.