← Back to team overview

touch-packages team mailing list archive

[Bug 1312076] [NEW] update-initramfs -u fails in /usr/share/initramfs-tools/hooks/udev

 

You have been subscribed to a public bug:

update-initramfs -u  fail with:

update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-24-generic with 1.

I think it is related to this portion of /usr/share/initramfs-
tools/hooks/udev (line 27, udev_204-5ubuntu20_amd64):

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

somehow on my system I have
ls -l /*bin/udeva*
-rwxr-xr-x 1 root root 248040 Apr 14 18:35 /bin/udevadm
lrwxrwxrwx 1 root root     12 Apr 14 18:34 /sbin/udevadm -> /bin/udevadm
lrwxrwxrwx 1 root root     12 Apr 14 18:34 /sbin/udevadm.upgrade -> /bin/udevadm

but there is no  /bin/udevadm.upgrade, should it be
/sbin/udevadm.upgrade then? (line 28)

if I manually change it, update-initramfs -u works again, however I have
no idea, what the udavadm.upgrade magic should do or if I have the files
in right positions.

It ended like this after an upgrade to xubuntu 14.04.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: Fix Released

-- 
update-initramfs -u fails in /usr/share/initramfs-tools/hooks/udev
https://bugs.launchpad.net/bugs/1312076
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.