[Bug 1669420] Re: udevadm unconfigured script leaks into initrd causing boot failure
Dan Streetman
1669420 at bugs.launchpad.net
Wed Jun 30 20:10:03 UTC 2021
please reopen if this is still an issue
** Changed in: systemd (Ubuntu)
Status: New => Won't Fix
--
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/1669420
Title:
udevadm unconfigured script leaks into initrd causing boot failure
Status in systemd package in Ubuntu:
Won't Fix
Bug description:
If update-initramfs is run while udevadm is "unconfigured", then the
system is rendered unbootable. Instead of containing a working
version of udevadm, the "initrd" is built with the wrapper script that
reports an error, and proceeds no further (as per code below).
Please incorporate the check for 'unconfigured' into the code for
udevadm, so that the udevadm binary can work correctly whether it is
on an unconfigured system, or an initrd.
This was a sticky problem, because no amount of 'dpkg-reconfigure
udev' did the required 'mv udevadm.upgrade udevadm'
#!/bin/sh
if [ "$1" = "trigger" ]; then
echo "udevadm trigger is not permitted while udev is unconfigured." 1>&2
exit 1
fi
# ... snip ...
exec /bin/bash -c "exec -a \"\$0\" /bin/udevadm.upgrade \"\$@\"" "$0" "$@"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1669420/+subscriptions
More information about the foundations-bugs
mailing list