Your message dated Sun, 01 Mar 2020 21:23:13 +0000
with message-id <[email protected]>
and subject line Bug#861169: fixed in opendkim 2.11.0~beta2-2
has caused the Debian Bug report #861169,
regarding opendkim: /lib/systemd/system/opendkim.services fails to read 
/etc/default/opendkim configuration
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
861169: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861169
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: opendkim
Version: 2.11.0~alpha-10+deb9u1
Severity: wishlist
Justification: Policy 9.3.2

Dear Maintainer,

I tried to follow instructions on https://wiki.debian.org/opendkim page.

I refers putting data into /etc/default/opendkim about socket like:
SOCKET="inet:8891@localhost"

However it seems that file /lib/systemd/system/opendkim.service ignore
defaults in /etc/default/opendkim file:

root@hel ~ # cat /lib/systemd/system/opendkim.service 
[Unit]
Description=OpenDKIM DomainKeys Identified Mail (DKIM) Milter
Documentation=man:opendkim(8) man:opendkim.conf(5)
man:opendkim-genkey(8) man:opendkim-genzone(8) man:opendkim-testadsp(8)
man:opendkim-testkey http://www.opendkim.org/docs.html
After=network.target nss-lookup.target 

[Service]
Type=forking
PIDFile=/var/run/opendkim/opendkim.pid
UMask=0007
ExecStart=/usr/sbin/opendkim -x /etc/opendkim.conf
Restart=on-failure
ExecReload=/bin/kill -USR1 $MAINPID

[Install]
WantedBy=multi-user.target
root@hel ~ # 

I can do workarount and add sokcet to /etc/opendkim.conf like this:
root@hel ~ # cat /etc/opendkim.conf 
logwhy yes
syslog yes
umask 007
mode sv
keytable /etc/postfix/dkim/keytable
signingtable file:/etc/postfix/dkim/signingtable
pidfile /var/run/opendkim/opendkim.pid
oversignheaders From
trustanchorfile /usr/share/dns/root.key
userid opendkim
socket inet:8891@localhost
root@hel ~ # 

If I comment that last comment line with "socket inet:8891@localhost"
restart opendkim will fail even there is socket definition in default
file:

root@hel ~ # cat /etc/default/opendkim 
RUNDIR=/var/run/opendkim
USER=opendkim
GROUP=opendkim
PIDFILE=$RUNDIR/$NAME.pid
SOCKET=inet:8891@localhost
root@hel ~ # 

And you can find in /var/log/daemon.log clear indication of failure:

Dec 29 15:12:29 hel opendkim[32459]: opendkim: milter socket must be specified

OK, I find this bug report duplicate of #861169 maybe I document here
just the annoying trouble of trying to figure out how fix problem.

Apparenty there commands fix the problem.

# /lib/opendkim/opendkim.service.generate
# systemctl daemon-reload
# service opendkim restart

I wish this all would just work little bit easier.

-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.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-data        2017072601~deb9u1
ii  init-system-helpers  1.48
ii  libbsd0              0.8.3-1
ii  libc6                2.24-11+deb9u3
ii  libdb5.3             5.3.28-12+deb9u1
ii  libldap-2.4-2        2.4.44+dfsg-5+deb9u2
ii  liblua5.1-0          5.1.5-8.1+b2
ii  libmemcached11       1.0.18-4.1
ii  libmemcachedutil2    1.0.18-4.1
ii  libmilter1.0.1       8.15.2-8
ii  libopendbx1          1.4.6-11+b1
ii  libopendkim11        2.11.0~alpha-10+deb9u1
ii  librbl1              2.11.0~alpha-10+deb9u1
ii  libssl1.1            1.1.0j-1~deb9u1
ii  libunbound2          1.6.0-3+deb9u2
ii  libvbr2              2.11.0~alpha-10+deb9u1
ii  lsb-base             9.20161125

opendkim recommends no packages.

Versions of packages opendkim suggests:
ii  opendkim-tools  2.11.0~alpha-10+deb9u1
pn  unbound         <none>

-- Configuration Files:
/etc/default/opendkim changed [not included]
/etc/opendkim.conf changed [not included]

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: opendkim
Source-Version: 2.11.0~beta2-2
Done: =?utf-8?q?David_B=C3=BCrgin?= <[email protected]>

We believe that the bug you reported is fixed in the latest version of
opendkim, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Bürgin <[email protected]> (supplier of updated opendkim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 28 Jan 2020 10:13:12 +0100
Source: opendkim
Architecture: source
Version: 2.11.0~beta2-2
Distribution: unstable
Urgency: medium
Maintainer: David Bürgin <[email protected]>
Changed-By: David Bürgin <[email protected]>
Closes: 861169
Changes:
 opendkim (2.11.0~beta2-2) unstable; urgency=medium
 .
   * Bump debhelper compat to compatibility level 12, necessitating many small
     changes in .install files and similar to silence dh_missing warnings.
   * General packaging overhaul:
     - Package synopses have been streamlined.
     - opendkim-tools: System utilities have moved from /usr/bin to /usr/sbin.
     - opendkim-tools: A few secondary statistics utilities are now included.
     - Various additional documentation is included.
     - Recommends: Promote opendkim-tools to opendkim recommends, because it is
       indispensable for initial setup and almost always installed together
       with opendkim.
     - Suggests: Drop unbound from opendkim suggests, because opendkim already
       uses libunbound, suggesting the standalone service may be misleading.
     - Remnants of obsolete (unused) "reputation" packages have been purged.
   * Additional patches:
     - opendkim-genzone: Fix inverted logic with subdomains (after a patch
       originally by Andreas Schulze).
     - opendkim: Suppress an empty pair of brackets logged to syslog.
   * Drop redundant specification of default config ("-x /etc/opendkim.conf")
     in systemd and init services.
   * Rewrite /etc/opendkim.conf and discourage use of /etc/default/opendkim
     (Closes: #861169).
   * postinst: Make script more robust when expected directories are not
     present (LP: #1787307).
Checksums-Sha1:
 a7674796cee8e4d32c3a2b4ff97290cd441d91f7 2439 opendkim_2.11.0~beta2-2.dsc
 2cb64d355a76d19e3bc2b70477ecc616f54edf8c 26508 
opendkim_2.11.0~beta2-2.debian.tar.xz
 349605475b7c3b19a9fa77d89b6c4b6da1288c50 6539 
opendkim_2.11.0~beta2-2_source.buildinfo
Checksums-Sha256:
 a5f0ba7d574c1324fe0916a1350bfc991d7d8fb5945ffbd776775bcdf5d89f39 2439 
opendkim_2.11.0~beta2-2.dsc
 f8f826eadd7136b383f3f8a7153cd5a738a6c70df0450cc7f1e45dbecb5e04b9 26508 
opendkim_2.11.0~beta2-2.debian.tar.xz
 01444cf9b78c246b9df61054f6ec62225cfcd12ee98000d3c3d58d593a5dbe10 6539 
opendkim_2.11.0~beta2-2_source.buildinfo
Files:
 038d494224b16e7f2091549bb01aff92 2439 mail optional opendkim_2.11.0~beta2-2.dsc
 85be8493548be9811c611786df088523 26508 mail optional 
opendkim_2.11.0~beta2-2.debian.tar.xz
 f12b2360c1c302053f1efafdec157ed8 6539 mail optional 
opendkim_2.11.0~beta2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAl5cIxoACgkQweDZLphv
fH6vdhAAoiYICmrX6aBxXQjb+60xdq7Btdsm2FdWrcBHwefWwBF5VzikDN6tYTw4
cJ8kMIohOx7sGrfBWdiktXNhGtdib+7T/1ULQbebamtwvs3SIRmf44ilA7iTh9K9
wrvS3wffeaz86OkiiyZF6oOGlDY3B66DKk+J3ubrTni5063RTcQHieW4eOuFIE0S
JXJB4W2j3CCq7aQ9SxukiIhlzemfjlFbnLcwb1SuNyoMy0PosT+uYweROXxAZWqB
BCFp0LeADKcv755dlDrc32ut/M9R0AiD2ojtBqD6p1hZ6QwrOytQpujsGTIjs2+S
rPuP5r+v3hD1OtEaaGQRbhGF7ZDHItMJh2AiOJf8n7qSaGmekj1YV5YvdiSVWf1I
op9PNAuXBap//y2v91xckgPl6KnPhiWIjI3yM4VVLryIVKl2WQa8WIqYTvGxfNNo
Xbr+XA/rIYOux585112/1mUytZkTBucazeUrUqN2Cx1ly6Ks4H0DhgY1UoAy7OKe
ZaIdt4gGAsYD0yVVmWB0/Xy4Yn4iyuM408i48UsU3spv/3PtTs+/EevU3KjdezZg
xm9gMgXdtYZYHPkoj0ftNziGqOILWelLpAbtBewK0tBlcMx5aXO1RWTfDNQ8+o/a
ju/r7nHydaq2blQSB9ioA19GMu4Q300kks35SLO3tJpx+jl3AiI=
=z7+X
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to