Bug 2047955

Summary: rpm -V / --verify mentions wrong user/mtime for /var/run/opendnssec
Product: Red Hat Enterprise Linux 9 Reporter: Jiri Jaburek <jjaburek>
Component: opendnssecAssignee: Rafael Jeffman <rjeffman>
Status: NEW --- QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0Keywords: Reopened
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2231075 (view as bug list) Environment:
Last Closed: 2023-07-28 07:28:13 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: 2231075    

Description Jiri Jaburek 2022-01-28 23:18:48 UTC
Description of problem:

After installing opendnssec, I can see rpm verify showing

# rpm -V opendnssec
.M...U...    /var/run/opendnssec

This is probably because the spec file mentions

  %attr(0770,root,ods) %dir %{_localstatedir}/run/opendnssec

but the file itself has

# ls -ld /var/run/opendnssec
drwxr-xr-x. 2 ods ods 40 Aug 10 16:51 /var/run/opendnssec

Given that there seems to be a correct entry in tmpfiles.d for the new-style /run,

# cat /usr/lib/tmpfiles.d/opendnssec.conf
D /run/opendnssec 0755 ods ods -

consider *not* packaging the obsolete /var/run directory, or fix its user ownership and mode bits to match tmpfiles.d.


Version-Release number of selected component (if applicable):
opendnssec-2.1.8-4.el9

Comment 2 RHEL Program Management 2023-07-28 07:28:13 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.