udev: init script unconditionally writes to /sys/kernel/uevent_helper

Bug #1618471 reported by Torsten Krah
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Debian)
Fix Released
Unknown
systemd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The udev initramfs-tools script from trusty lts:

/usr/share/initramfs-tools/scripts/init-top/udev

does not check if uevent_helper does exist and fails to boot if it is missing - which it is in recent kernels (e.g. 4.7.2 from the mainline ppa or modern self build kernels where it is disabled per default afaik).

See e.g.: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756312

Its fixed in xenials version (latest LTS) but fails in current supported LTS trusty to boot.
Please backport those simple fix:

if [ -w /sys/kernel/uevent_helper ]; then
 echo > /sys/kernel/uevent_helper
fi

and maybe add

udevadm settle || true

at the end to support kernels without uevent_helper enabled.

Tags: trusty
Changed in udev (Debian):
status: Unknown → Fix Released
Revision history for this message
Kai Kasurinen (kai-kasurinen) wrote :

Fixed in version systemd/208-8

affects: udev (Debian) → systemd (Debian)
affects: udev (Ubuntu) → systemd (Ubuntu)
Changed in systemd (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.