Package: udev
Version: 164-2
Severity: important
Tags: patch
When I boot a Debian appliance for libguestfs (http://libguestfs.org)
the boot sits and waits for 60 seconds while it prints the large
"warn_if_interactive" warning (when starting udev service).
The warning is wrong: although the tty is /dev/ttyS0, the service is
not being started interactively.
Therefore please provide a way that we can bypass this warning. A
suggested patch will be attached to this bug report.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.36-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages udev depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libselinux1 2.0.96-1 SELinux runtime shared libraries
ii libudev0 164-2 libudev shared library
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii util-linux 2.17.2-3.3 Miscellaneous system utilities
Versions of packages udev recommends:
ii pciutils 1:3.1.7-5 Linux PCI Utilities
ii usbutils 0.73-10lenny2 Linux USB utilities
udev suggests no packages.
-- debconf information:
udev/new_kernel_needed: false
udev/title/upgrade:
udev/reboot_needed:
udev/sysfs_deprecated_incompatibility:
--- udev.old 2010-12-10 12:31:14.000000000 +0000
+++ udev.new 2010-12-10 12:29:44.000000000 +0000
@@ -60,6 +60,10 @@
}
warn_if_interactive() {
+ if [ -n "$DEBIAN_UDEV_NO_WARN_IF_INTERACTIVE" ]; then
+ return
+ fi
+
if [ "$RUNLEVEL" = "S" -a "$PREVLEVEL" = "N" ]; then
return
fi