Package: dirmngr
Version: 1.1.1-1.1
Tags: patch
Hi,
thanks for the NMU; nonetheless, I believe the root cause of the issue
shouldn't be worked around.
The use of su in dirmngr init script is causing further troubles [1] and
I believe that the cleanest solution, which I found to fix the mentioned
issues, would be using start-stop-daemon directly, as Thorsten
recommended in message #33:
--- dirmngr.old 2014-01-14 13:01:12.235277583 +0100
+++ dirmngr.new 2014-01-14 13:01:24.791269629 +0100
@@ -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=$(start-stop-daemon --start --quiet --exec
$DAEMON --oknodo --pidfile $PIDFILE --umask 027 --chuid dirmngr --
--daemon --sh) || return 1
eval "$output" || return 1
pid=$(echo "$DIRMNGR_INFO" | cut -d : -f 2) || return 1
echo "$pid" >$PIDFILE || return 1
Please consider applying this patch.
Thanks,
Maurizio
[1]: - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727645
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717554
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717731
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]