Package: opendkim
Version: 2.11.0~alpha-10
Tags: patch
Followup-For: Bug #859797
Dear Maintainer,
Systemd units overrides should be world readable (according to upstream, as
read in OP github link); here is a fix (as seen in #851521):
----------------------------------------------------------------
diff --git a/debian/opendkim.service.generate b/debian/opendkim.service.generate
index d026104..e8c6b8c 100755
--- a/debian/opendkim.service.generate
+++ b/debian/opendkim.service.generate
@@ -45,7 +45,7 @@ fi
if [ -s $SERVICE ] ; then
mkdir -p /etc/systemd/system/$NAME.service.d
- cp $SERVICE /etc/systemd/system/$NAME.service.d/override.conf
+ install -m 644 $SERVICE
/etc/systemd/system/$NAME.service.d/override.conf
fi
# Generate tmpfiles.d override file
----------------------------------------------------------------
Cheers,
Tobald
-- System Information:
Debian Release: 9.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.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+deb9u1
ii libdb5.3 5.3.28-12+b1
ii libldap-2.4-2 2.4.44+dfsg-5
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
ii librbl1 2.11.0~alpha-10
ii libssl1.1 1.1.0f-3
ii libunbound2 1.6.0-3+deb9u1
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 <none>
-- Configuration Files:
/etc/default/opendkim changed [not included]
/etc/dkimkeys/README.PrivateKeys [Errno 13] Permission denied:
'/etc/dkimkeys/README.PrivateKeys'
/etc/opendkim.conf changed [not included]
-- no debconf information