Dear maintainer,

as this is an RC bug with no maintainer activity at all for
more than a week, I’ve uploaded an NMU under the no-delay
rule fixing this problem because several people asked me,
on IRC and IRL, about it as they’d hit it too.

I’ve tried alternatives, like redirecting the output, but
found that running /etc/profile{,.d/*} is fundamentally
wrong for dæmons as it can start much more things.

So please find the NMU diff attached.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-314
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Sebastian Mancke
diff -Nru dirmngr-1.1.1/debian/changelog dirmngr-1.1.1/debian/changelog
--- dirmngr-1.1.1/debian/changelog      2013-07-23 16:12:44.000000000 +0200
+++ dirmngr-1.1.1/debian/changelog      2013-08-06 10:19:16.000000000 +0200
@@ -1,3 +1,13 @@
+dirmngr (1.1.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Do not read /etc/profile and /etc/profile.d/* for the daemon,
+    it’s fundamentally wrong (can start gpg-agent, ssh-agent, or
+    other background or interactive programs, and insert unwanted
+    output, depending on local configuration). Closes: #668890
+
+ -- Thorsten Glaser <t...@mirbsd.de>  Tue, 06 Aug 2013 10:18:18 +0200
+
 dirmngr (1.1.1-1) unstable; urgency=low
 
   * New upstream release
diff -Nru dirmngr-1.1.1/debian/init.d dirmngr-1.1.1/debian/init.d
--- dirmngr-1.1.1/debian/init.d 2012-03-29 07:40:19.000000000 +0200
+++ dirmngr-1.1.1/debian/init.d 2013-08-06 10:18:11.000000000 +0200
@@ -32,7 +32,7 @@
                mkdir -p /var/run/dirmngr || return 1
                chown dirmngr:dirmngr /var/run/dirmngr || return 1
 
-               output=$(su -c ". /lib/lsb/init-functions && umask 027 && 
start_daemon -p $PIDFILE $DAEMON --daemon --sh" - dirmngr) || return 1
+               output=$(su -c ". /lib/lsb/init-functions && umask 027 && 
start_daemon -p $PIDFILE $DAEMON --daemon --sh" dirmngr) || return 1
                eval "$output" || return 1
                pid=$(echo "$DIRMNGR_INFO" | cut -d : -f 2) || return 1
                echo "$pid" >$PIDFILE || return 1

Reply via email to