Public bug reported: This is with opendmarc/1.3.2~Beta1-2 under Zesty Zapus (development branch) 17.04 - downloaded today
1. There is no installation of file /etc/default/opendmarc - if a file already existed you may be asked if you want to replace it and may be able to look at differences, however the new file is not installed in its place. The old file may be renamed as /etc/default/opendmarc.dpkg- old (or may be deleted). I can't fix this bug. 2. Instead of using the bespoke sysv script (/etc/init.d/opendmarc - which however it installs) it uses a poorly-configured /lib/systemd/system/opendmarc.service - this doesn't look at /etc/default/opendmarc (even if it is present) and doesn't respect any Socket setting in /etc/opendmarc.conf. However when you 'enable' opendmarc (i.e. so it runs after rebooting: systemctl enable opendmarc) it then seems to fallback to using the old sysv script (which does work but should be deprecated). I've attached a patch for opendmarc.service which means it respects an explicit Socket setting in /etc/opendmarc.conf (default: local:/var/run/opendmarc/opendmarc.sock) and /etc/default/opendmarc. With this we no longer need sysv script /etc/init.d/opendmarc. To get opendmarc to run at boot time and use systemd file (not falling back to sysv): # in case boot time running is already enabled via sysv sudo systemctl disable opendmarc.service sudo mv /etc/init.d/opendmarc /etc/init.d/opendmarc.orig sudo systemctl enable opendmarc.service Alternatively, for a workaround that uses /etc/default/opendmarc we can go back to using /etc/init.d/opendmarc thus (with sudo as appropriate): systemctl stop opendmarc mv /lib/systemd/system/opendmarc.service file /lib/systemd/system/opendmarc.service.orig systemctl daemon-reload systemctl start opendmarc # run after each boot systemctl enable opendmarc ** Affects: opendmarc (Ubuntu) Importance: Undecided Status: New ** Patch added: "opendmarc.service.patch" https://bugs.launchpad.net/bugs/1657445/+attachment/4805808/+files/opendmarc.service.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1657445 Title: opendmarc.service inadequate, /etc/default/opendmarc not installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/opendmarc/+bug/1657445/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs