[Bug 1618471] [NEW] udev: init script unconditionally writes to /sys/kernel/uevent_helper

Launchpad Bug Tracker 1618471 at bugs.launchpad.net
Thu Aug 6 22:06:37 UTC 2020


You have been subscribed to a public bug:

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.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: systemd (Debian)
     Importance: Unknown
         Status: Fix Released


** Tags: trusty
-- 
udev: init script unconditionally writes to /sys/kernel/uevent_helper
https://bugs.launchpad.net/bugs/1618471
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to systemd in Ubuntu.



More information about the foundations-bugs mailing list