Package: udev
Version: 164-3
Tags: patch

During my upgrade squeeze, I found that I was not able to configure
the new udev:

# dpkg --configure --abort-after=10000 udev
Setting up udev (164-3) ...
start-stop-daemon: need at least one of --exec, --pidfile or --user
Try `start-stop-daemon --help' for more information.
dpkg: error processing udev (--configure):
 subprocess installed post-installation script returned error exit
 status 3
Errors were encountered while processing:
 udev
#

The error message from start-stop-daemon is correct.  Use of --name
without --user is hazardous.  I was able to work around the problem by
editing the postinst by hand; see below.

It is likely that something will need to be done to the preinst too.

Ian.


--- /var/lib/dpkg/info/udev.postinst~   2010-12-13 02:27:53.000000000 +0000
+++ /var/lib/dpkg/info/udev.postinst    2011-12-18 13:31:47.000000000 +0000
@@ -39,7 +39,7 @@
 } 
 
 restart_udevd() {
-  start-stop-daemon --stop --name udevd --oknodo --quiet --retry 5
+  start-stop-daemon --stop --user root --name udevd --oknodo --quiet --retry 5
 
   local rc=0
   udevd --daemon || rc=$?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to