Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-4866

rpm -V / --verify mentions wrong user/mtime for /var/run/opendnssec

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • opendnssec-2.1.10-4.el9
    • None
    • Low
    • 1
    • rhel-idm-ipa
    • ssg_idm
    • 1
    • QE ack, Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • Iteration 2
    • If docs needed, set a value
    • None
    • 57,005

      Description of problem:

      After installing opendnssec, I can see rpm verify showing

      1. 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

      1. 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,

      1. 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

              rjeffman@redhat.com Rafael Jeffman
              jjaburek@redhat.com Jiri Jaburek
              Rafael Jeffman Rafael Jeffman
              IPA QE Bot IPA QE Bot
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: