Hide Forgot
# 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
Confirmed, this broken upstream too, probably been that way for ages/ever.
Fixed upstream: https://github.com/rpm-software-management/rpm/commit/bb27f9fffa8e557b931314523473ed782b86cc97
Thanks; it's important to get there, regardless time-to-notice :-)
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
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.
*** Bug 1568628 has been marked as a duplicate of this bug. ***
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