[Bug 1618471] Re: udev: init script unconditionally writes to /sys/kernel/uevent_helper
Kai Kasurinen
1618471 at bugs.launchpad.net
Thu Aug 6 22:06:35 UTC 2020
Fixed in version systemd/208-8
** Package changed: udev (Debian) => systemd (Debian)
** Package changed: udev (Ubuntu) => systemd (Ubuntu)
** Changed in: systemd (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1618471
Title:
udev: init script unconditionally writes to /sys/kernel/uevent_helper
Status in systemd package in Ubuntu:
Fix Released
Status in systemd package in Debian:
Fix Released
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1618471/+subscriptions
More information about the foundations-bugs
mailing list