[Bug 1618471] [NEW] udev: init script unconditionally writes to /sys/kernel/uevent_helper
Torsten Krah
1618471 at bugs.launchpad.net
Tue Aug 30 13:52:16 UTC 2016
Public bug reported:
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: udev (Ubuntu)
Importance: Undecided
Status: New
** Affects: udev (Debian)
Importance: Unknown
Status: Unknown
** Tags: trusty
** Bug watch added: Debian Bug tracker #756312
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756312
** Also affects: udev (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756312
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/1618471
Title:
udev: init script unconditionally writes to /sys/kernel/uevent_helper
Status in udev package in Ubuntu:
New
Status in udev package in Debian:
Unknown
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/udev/+bug/1618471/+subscriptions
More information about the foundations-bugs
mailing list