[opendmarc-users] Package Install - wrong path

postfix at ptld.com postfix at ptld.com
Tue Jul 27 11:52:47 PDT 2021


I am not sure if the makers of opendmarc are in control of how packages 
install opendmarc. If they are...

On RHEL flavor systems using dnf to install opendmarc from the EPEL 
repo.
The file that controls the socket directory

     opendmarc.conf:
         D /run/opendmarc 0700 opendmarc opendmarc -

gets installed to "/etc/tmpfiles.d/opendmarc.conf" when it should be 
installed to "/usr/lib/tmpfiles.d/opendmarc.conf". Packages go in the 
/usr/lib/tmpfiles.d/ and user files go in the /etc/tmpfiles.d/ to 
override package defaults. Deleting of the override file in 
/etc/tmpfiles.d/ causes opendmarc to not start as it can not create the 
socket file.


https://www.commandlinux.com/man-page/man5/tmpfiles.d.5.html:
Files in /etc/tmpfiles.d override files with the same name in 
/usr/lib/tmpfiles.d and /run/tmpfiles.d. Files in /run/tmpfiles.d 
override files with the same name in /usr/lib/tmpfiles.d. Packages 
should install their configuration files in /usr/lib/tmpfiles.d.


More information about the opendmarc-users mailing list