[Bug 1669420] [NEW] udevadm unconfigured script leaks into initrd causing boot failure

Launchpad Bug Tracker 1669420 at bugs.launchpad.net
Thu Aug 6 21:40:18 UTC 2020


You have been subscribed to a public bug:

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" "$@"

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
udevadm unconfigured script leaks into initrd causing boot failure
https://bugs.launchpad.net/bugs/1669420
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