Package: nut Version: 2.2.1-2 Severity: serious Tags: patch Hello,
It seems that the nut postinst script errors out if udev is not running at the time the script is run. This creates problems in buildds or chroots since udev is normally not started in those environments. See, for example, the i386 build log for collectd 4.3.0-2 at: http://buildd.debian.org/fetch.cgi?pkg=collectd;ver=4.3.0-2;arch=i386;stamp=1204846772 The following patch below should fix this: --- postinst 2008-02-08 10:13:24.000000000 -0500 +++ postinst.fixed 2008-03-07 09:38:46.000000000 -0500 @@ -19,8 +19,10 @@ case "$1" in chmod 770 /var/run/nut /var/lib/nut # restart udev to apply the USB rules to the already plugged devices - [ -x /etc/init.d/udev ] && pidof udevd > /dev/null \ - && /usr/sbin/invoke-rc.d udev restart + # only if it's already running + if [ -x /etc/init.d/udev ] && pidof udevd > /dev/null; then + /usr/sbin/invoke-rc.d udev restart + fi ;; abort-upgrade) Thanks, --Joe -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]