Package: opendmarc
Version: 1.3.2~Beta0+dfsg-2
Severity: grave
Justification: renders package unusable
Dear Maintainer,
The opendmarc.service file generated by opendmarc ends up trying to invoke
/usr/sbin/opendkim rather than /usr/sbin/opendmarc to start the daemon. This
is clearly wrong (luckily it doesn't actually start opendkim, because opendkim
barfs at being given a conf file with opendmarc options).
This is coming from the opendmarc.service.generate script's ExecStart line:
echo "ExecStart=/usr/sbin/opendkim -p $SOCKET $DAEMON_OPTS -x
/etc/$NAME.conf -u $USER -P $PIDFILE" >> $SERVICEFILE.new
That has at least three problems that I ran into trying to fix this:
- /usr/sbin/opendkim should be /usr/sbin/opendmarc
- the -x flag should be -c
- the -p $SOCKET bit is sometimes wrong; /etc/default/opendmarc says SOCKET
overrides the Socket setting in the config file, and the
/etc/init.d/opendmarc script indeed handles this. If I fix the above two
issues but comment out SOCKET in /etc/default/opendmarc (because I have the
Socket specified in /etc/opendmarc.conf), I get a failure to start with bad
argument output because SOCKET isn't set, so there is no argument following
the "-p".
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages opendmarc depends on:
ii adduser 3.115
ii libbsd0 0.8.3-1
ii libc6 2.24-5
ii libmilter1.0.1 8.15.2-6
ii libopendmarc2 1.3.2~Beta0+dfsg-2
ii libspf2-2 1.2.10-7+b1
ii lsb-base 9.20161016
ii publicsuffix 20160826-1
Versions of packages opendmarc recommends:
ii libdbd-mysql-perl 4.037-5
ii libdbi-perl 1.636-1+b1
ii libhttp-message-perl 6.11-1
ii libopendbx1 1.4.6-11
pn libopendbx1-mysql <none>
ii libswitch-perl 2.17-2
ii perl 5.24.1~rc3-3
pn perl:any <none>
opendmarc suggests no packages.
-- Configuration Files:
/etc/opendmarc.conf changed:
PidFile /var/run/opendmarc.pid
RejectFailures false
Syslog true
IgnoreAuthenticatedClients true
UMask 0000
Socket local:/var/spool/postfix/opendmarc/opendmarc.sock
HistoryFile /var/lib/opendmarc/history.dat
UserID opendmarc:opendmarc
PublicSuffixList /usr/share/publicsuffix/
-- no debconf information