Hey Brian, Brian Minton [2015-12-03 13:44 -0500]: > I removed all the udev overrides, rebuilt the initramfs, and rebooted. Now > udev-delta does not show any overrides. However, the problem of dropping > into emergency mode, and needing 'vgchange -ay' to continue, is still going > on.
This sounds similar to https://launchpad.net/bugs/1185394 . Can you try to replace /usr/share/initramfs-tools/scripts/init-bottom/udev with the attached file, run "update-initramfs -u" and check again? Thanks! Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
#!/bin/sh -e
PREREQS=""
prereqs() { echo "$PREREQS"; }
case "$1" in
prereqs)
prereqs
exit 0
;;
esac
# we cannot properly synthesize LVM LV change events with udevadm trigger, so
# if we use LVM, we need to let it finish; otherwise we get missing LV symlinks
# (LP #1185394)
if [ -x /sbin/vgchange ]; then
udevadm settle --timeout=121 || true
fi
# Stop udevd, we'll miss a few events while we run init, but we catch up
udevadm control --timeout=121 --exit || \
echo "udev exit failed -- rc=$?"
# move the /dev tmpfs to the rootfs
mount -n -o move /dev ${rootmnt}/dev
# create a temporary symlink to the final /dev for other initramfs scripts
rm -rf /dev
ln -s ${rootmnt}/dev /dev
signature.asc
Description: Digital signature

