Bug#863612: opendmarc: still ignore inet SOCKET configuration
The whole issue is with the systemd unit hardcoding the paths, which is what that patch addresses. I've been bitten by this as well, and I put a modified systemd unit in /etc/systemd/system, so as long as this doesn't get fixed any package upgrades don't break opendmarc. Stijn On Tue, 31 Oct 2017 16:11:40 -0700 Jack Bates <3ou...@nottheoilrig.com> wrote: > Control: tags -1 patch > > I ran into this issue as well -- the following patch fixed it for me: > http://nottheoilrig.com/options.patch > > I copied the default settings from opendmarc.service to opendmarc.conf > (PidFile, Socket, and UserID). The administrator can continue to > override the service, as before (with > /etc/systemd/system/opendmarc.service.d/override.conf or "systemctl edit > opendmarc"). However if they don't, the settings in /etc/opendmarc.conf > are respected. Likewise the administrator can continue to configure the > SysV init in /etc/default/opendmarc, as before. > > Whether or not the administrator has overridden the service, this change > won't alter their settings: If the override.conf exists, then it'll be > used, same as before. Otherwise the default settings are the same as before. > > When I added the settings to debian/opendmarc.conf I also harmonized the > existing settings templates with the upstream opendmarc.conf.sample. > >
Bug#863612: opendmarc: still ignore inet SOCKET configuration
Control: tags -1 patch I ran into this issue as well -- the following patch fixed it for me: http://nottheoilrig.com/options.patch I copied the default settings from opendmarc.service to opendmarc.conf (PidFile, Socket, and UserID). The administrator can continue to override the service, as before (with /etc/systemd/system/opendmarc.service.d/override.conf or "systemctl edit opendmarc"). However if they don't, the settings in /etc/opendmarc.conf are respected. Likewise the administrator can continue to configure the SysV init in /etc/default/opendmarc, as before. Whether or not the administrator has overridden the service, this change won't alter their settings: If the override.conf exists, then it'll be used, same as before. Otherwise the default settings are the same as before. When I added the settings to debian/opendmarc.conf I also harmonized the existing settings templates with the upstream opendmarc.conf.sample.
Bug#863612: opendmarc: still ignore inet SOCKET configuration
Package: opendmarc Version: 1.3.2-2 Severity: important Opendmarc ignore my inet socket settings. I tried to set up inet socket in /etc/opendmarc.conf first. Then i tried in /etc/default/opendmarc When i start opendmarc, daemon options are : /usr/sbin/opendmarc -p local:/var/run/opendmarc/opendmarc.sock -u opendmarc -P /var/run/opendmarc/opendmarc.pid -c options is not set and -p option is set with default local socket. DEAMON_OPTS seems to be ignored by init.d script. To bypass this issue, i have to launch opendmarc without the init.d scripts. In the bug #856488 the issue is supposed to be fixed in version 1.3.2-1 Thanks. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash 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-10 ii libmilter1.0.1 8.15.2-8 ii libopendmarc2 1.3.2-2 ii libspf2-2 1.2.10-7+b2 ii lsb-base9.20161125 ii publicsuffix20170424.0717-1 Versions of packages opendmarc recommends: ii libdbd-mysql-perl 4.041-2 ii libdbi-perl 1.636-1+b1 ii libhttp-message-perl 6.11-1 ii libopendbx1 1.4.6-11+b1 ii libopendbx1-mysql 1.4.6-11+b1 ii libswitch-perl2.17-2 ii perl 5.24.1-2 pn perl:any opendmarc suggests no packages. -- Configuration Files: /etc/default/opendmarc changed: RUNDIR=/var/run/opendmarc SOCKET=inet:11078@localhost USER=opendmarc GROUP=opendmarc PIDFILE=$RUNDIR/$NAME.pid EXTRAAFTER= /etc/opendmarc.conf changed: AuthservID "mail.coute.org" AutoRestart true AutoRestartRate 10/1h IgnoreHosts /etc/opendkim/TrustedHosts IgnoreMailFrom coute.org PidFile /var/run/opendmarc/opendmarc.pid RejectFailures false Syslog true SyslogFacility mail TrustedAuthservIDs "mail.coute.org" -- no debconf information