Package: udev Version: 204-12 Severity: normal Tags: patch The udev initramfs script is executed with set -e, and attempts to clear out the contents of /sys/kernel/uevent_helper at boot. If CONFIG_UEVENT_HELPER is not set this file doesn't exist, setting it fails and the boot stops. The script should check that the file exists and is writable before trying to write to it.
A trivial patch to do that is attached. Additionally udev.init and udev.postinst have checks for the existence of that file which would stop udev from being started under sysvinit if that compatibility option is not set. I'm not entirely sure what should be done about them. The kernel team should possibly be notified about keeping this option enabled for the jessie release to avoid breaking partial upgrades. -- Arto Jantunen
diff --git a/debian/extra/initramfs.top b/debian/extra/initramfs.top index 9e2cbb8..0b19937 100644 --- a/debian/extra/initramfs.top +++ b/debian/extra/initramfs.top @@ -11,7 +11,9 @@ case "$1" in ;; esac -echo > /sys/kernel/uevent_helper +if [ -w /sys/kernel/uevent_helper ]; then + echo > /sys/kernel/uevent_helper +fi /lib/systemd/systemd-udevd --daemon --resolve-names=never