Bug#864162: opendkim: systemd ExecStart ignore configuration options
It's fixed in testing and I'm working with the release team to get the fix in Stretch. Scott K On September 12, 2017 11:22:55 AM EDT, Emmanuel Revahwrote: >Hi, > >What is the correct solution for those who remain in Stretch/"stable" ? > >I've tried everything from this thread to try to fix >/lib/systemd/system/opendkim.service, I've even copied it over from the > >opendkim_2.11.0-alpha-11_arm64.deb file. Nothing works. > >Thanks for any possible help.
Bug#864162: opendkim: systemd ExecStart ignore configuration options
Hi, What is the correct solution for those who remain in Stretch/"stable" ? I've tried everything from this thread to try to fix /lib/systemd/system/opendkim.service, I've even copied it over from the opendkim_2.11.0-alpha-11_arm64.deb file. Nothing works. Thanks for any possible help. -- Emmanuel Revah
Bug#864162: opendkim: systemd ExecStart ignore configuration options
On Sunday, September 03, 2017 01:22:28 PM Scott Kitterman wrote: > Once I have it fixed in unstable/testing, I plan to fix Stretch too. I've uploaded to unstable and have prepared an update for Stretch. It is currently waiting on stable release manager review. Scott K
Bug#864162: opendkim: systemd ExecStart ignore configuration options
Once I have it fixed in unstable/testing, I plan to fix Stretch too. Scott K On September 3, 2017 3:31:25 AM EDT, "K. de Jong"wrote: >This bug affects also Debian stable (Stretch), is there any chance >Debian >will fix this? Or are these one of those things that won't be touched >now >Stretch is already released? > > >-- >Kind regards, >Kees de Jong | OpenPGP fingerprint: 0x0E45C98AB51428E6
Bug#864162: opendkim: systemd ExecStart ignore configuration options
This bug affects also Debian stable (Stretch), is there any chance Debian will fix this? Or are these one of those things that won't be touched now Stretch is already released? -- Kind regards, Kees de Jong | OpenPGP fingerprint: 0x0E45C98AB51428E6
Bug#864162: opendkim: systemd ExecStart ignore configuration options
Hello, The correct solution is: Change /lib/systemd/system/opendkim.serviceline 11 to: ExecStart=/usr/sbin/opendkim -x /etc/opendkim.conf This changeneeds to be implemented with a small incremental update to the currect stretch version, since it is essentially a breakage bug (affects functionality). The only thing that needs to be changed is to let opendkim read its own configuration file, there are no other changes needed anywhere else in the package. Thank you
Bug#864162: opendkim: systemd ExecStart ignore configuration options
severity 864162 serious found 864162 thanks Hi Scott, > opendkim: systemd ExecStart ignore configuration options It seems like this issue would be well worthy of a stable update. https://www.reddit.com/r/debian/comments/6n2kfm/mail_server_woes_opendkim_configuration/ Regards, -- ,''`. : :' : Chris Lamb, Debian Project Leader `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#864162: opendkim: systemd ExecStart ignore configuration options
I am encountering the same issue. My configuration in /etc/defaults/opendkim are ignored, and it’s not clear either if my configuration in /etc/opendkim.conf is being read. Opendkim is not configurable! For comparison, in Debian 8 the execute string in the /etc/init.d/opendkim file reads: DAEMON_OPTS="-x /etc/opendkim.conf -u $USER -P $PIDFILE $DAEMON_OPTS” …where $DAEMON_OPTS is has been set as: DAEMON_OPTS="-p $SOCKET $DAEMON_OPTS” and here $SOCKET and $DAEMON_OPTS are coming from /etc/defaults/opendkim.
Bug#864162: opendkim: systemd ExecStart ignore configuration options
Hi, maybe it makes more sense to use "EnvironmentFile" parameter in the OpenDKIM systemd.service file: --- /lib/systemd/system/opendkim.service.orig 2017-01-21 07:45:58.0 +0200 +++ /lib/systemd/system/opendkim.service2017-06-08 17:02:34.632978678 +0300 @@ -5,10 +5,11 @@ [Service] Type=forking +EnvironmentFile=-/etc/default/opendkim PIDFile=/var/run/opendkim/opendkim.pid User=opendkim UMask=0007 -ExecStart=/usr/sbin/opendkim -P /var/run/opendkim/opendkim.pid -p local:/var/run/opendkim/opendkim.sock +ExecStart=/usr/sbin/opendkim -P /var/run/opendkim/opendkim.pid -p $SOCKET Restart=on-failure ExecReload=/bin/kill -USR1 $MAINPID Uve
Bug#864162: opendkim: systemd ExecStart ignore configuration options
Package: opendkim Version: 2.11.0~alpha-10 Severity: important Dear Maintainer, I was unable to make opendkim listening on the 12301 port. It appears that the ExecStart in /etc/systemd/system/multi-user.target.wants/opendkim.service ignore configuration options. I fixed it locally by defining ExecStart=/usr/sbin/opendkim -P /var/run/opendkim/opendkim.pid -p $(awk '$1 == "Socket" { print $2 }' /etc/opendkim.conf) (inspired by init script). François -- 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/1 CPU core) 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 opendkim depends on: ii adduser 3.115 ii dns-root-data2017041101 ii init-system-helpers 1.48 ii libbsd0 0.8.3-1 ii libc62.24-10 ii libdb5.3 5.3.28-12+b1 ii libldap-2.4-22.4.44+dfsg-5 ii liblua5.1-0 5.1.5-8.1+b2 ii libmemcached11 1.0.18-4.1 ii libmemcachedutil21.0.18-4.1 ii libmilter1.0.1 8.15.2-8 ii libopendbx1 1.4.6-11+b1 ii libopendkim112.11.0~alpha-10 ii librbl1 2.11.0~alpha-10 ii libssl1.11.1.0e-2 ii libunbound2 1.6.0-3 ii libvbr2 2.11.0~alpha-10 ii lsb-base 9.20161125 opendkim recommends no packages. Versions of packages opendkim suggests: ii opendkim-tools 2.11.0~alpha-10 pn unbound -- Configuration Files: /etc/default/opendkim changed: RUNDIR=/var/run/opendkim SOCKET=inet:12301@localhost USER=opendkim GROUP=opendkim PIDFILE=$RUNDIR/$NAME.pid EXTRAAFTER= /etc/opendkim.conf changed: Syslog yes UMask 007 Modesv OversignHeaders From TrustAnchorFile /usr/share/dns/root.key AutoRestart Yes AutoRestartRate 10/1h UMask 002 Syslog yes SyslogSuccess Yes LogWhy Yes Canonicalizationrelaxed/simple KeyTable/etc/postfix/dkim/keytable SigningTable/etc/postfix/dkim/signingtable ExternalIgnoreList /etc/postfix/dkim/TrustedHosts InternalHosts /etc/postfix/dkim/TrustedHosts Modesv PidFile /var/run/opendkim/opendkim.pid SignatureAlgorithm rsa-sha256 UserID opendkim:opendkim Socket inet:12301@localhost -- no debconf information