Comment 0 for bug 1535255

Revision history for this message
wayne (wayne-flashmedia) wrote : Inconsistency in /usr/share/initramfs-tools/hooks/udev file causes configuration fali

I'm running udev build 205 and /usr/share/initramfs-tools/hooks/udev seems to have a typo. In the snippet below the check is on the file in the /sbin dir and the copy is on the file in /bin. The latter doesn't exist.

if [ -x /sbin/udevadm.upgrade ]; then
    copy_exec /bin/udevadm.upgrade /bin/udevadm

This is what is should be from build 175

if [ -x /sbin/udevadm.upgrade ]; then
    copy_exec /sbin/udevadm.upgrade /bin/udevadm

This bug is quite important as when update-initramfs -u fails the system can be left in an unbootable state.