Control: tags -1 + patch Am 29.09.2017 um 15:11 schrieb Andreas Schmidt:
> Package: postfix > Version: 3.2.3-1 > Severity: normal > > Dear Maintainer, > > on one of my computers, I noticed this line in /var/log/syslog today: > > Sep 29 10:54:32 desktop systemd[1]: Configuration file > /lib/systemd/system/[email protected] is marked executable. Please remove > executable permission bits. Proceeding anyway. > > Before updating my other computer, I checked the rights of this file: > > # ls -lh /lib/systemd/system/postfix* > -rw-r--r-- 1 root root 253 Jun 17 19:57 /lib/systemd/system/postfix.service > -rw-r--r-- 1 root root 516 Jun 17 19:57 /lib/systemd/system/[email protected] > > After updating postfix from 3.2.2-1 to 3.2.3-1, I checked again: > # ls -lh /lib/systemd/system/postfix* > -rw-r--r-- 1 root root 253 Sep 29 04:48 /lib/systemd/system/postfix.service > -rwxr-xr-x 1 root root 516 Sep 29 04:54 /lib/systemd/system/[email protected] > > So the rights must have been changed in the course of this update. I guess > this > is a bug because a) systemd complains about the executable permission bits > being set, and b) [email protected] is the only file in this directory where > these permissions are set. Apparently there has been a change in debhelper that no longer causes it to remove the executable bits from this file, but the manpage for dh_fixperms does not make any promise to do so in the first place. In any case, specifying the correct permissions should fix that (untested): --8<---------------cut here---------------start------------->8--- diff --git a/debian/rules b/debian/rules index 59ca3d7d..280ef7f6 100755 --- a/debian/rules +++ b/debian/rules @@ -204,7 +204,7 @@ install-arch: build-arch install debian/configure-instance.sh $(libdir) install debian/postfix-instance-generator ${base}/lib/systemd/system-generators/ - install debian/[email protected] ${base}/lib/systemd/system/ + install -m 644 debian/[email protected] ${base}/lib/systemd/system/ install debian/ip-up.d ${base}/etc/ppp/ip-up.d/postfix install debian/ip-down.d ${base}/etc/ppp/ip-down.d/postfix install debian/ip-up.d ${base}/etc/network/if-up.d/postfix --8<---------------cut here---------------end--------------->8--- Cheers, Sven

