[Bug 2037156] [NEW] initramfs-tools 0.142ubuntu12 fails on upgrade: wrong multiarch libdir Edit
Thomas Schiex
2037156 at bugs.launchpad.net
Sat Sep 23 08:29:01 UTC 2023
Public bug reported:
I just upgraded my system from Lunar to Mantic. initramfs is
systematically producing messages such as:
E: /usr/share/initramfs-tools/hooks/dhcpcd failed with return 1.
Looking into the corresponding bash script shows that the penultimate
line produces an incorrect result:
multiarch_dir=$(ldd /usr/sbin/dhcpcd | awk '/libc.so./ { print $3 }' |
cut -f3 -d/)
stores "lib" instead of x86_64-linux-gnu in my case.
the correct line (tested) should be:
multiarch_dir=$(ldd /usr/sbin/dhcpcd | awk '/libc.so./ { print $3 }' |
cut -f4 -d/)
since ldd produces
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6
(0x00007f5baec00000)
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "Corrected /usr/share/initramfs-tools/hooks/dhcpcd file"
https://bugs.launchpad.net/bugs/2037156/+attachment/5703688/+files/dhcpcd
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2037156
Title:
initramfs-tools 0.142ubuntu12 fails on upgrade: wrong multiarch libdir
Edit
Status in initramfs-tools package in Ubuntu:
New
Bug description:
I just upgraded my system from Lunar to Mantic. initramfs is
systematically producing messages such as:
E: /usr/share/initramfs-tools/hooks/dhcpcd failed with return 1.
Looking into the corresponding bash script shows that the penultimate
line produces an incorrect result:
multiarch_dir=$(ldd /usr/sbin/dhcpcd | awk '/libc.so./ { print $3 }'
| cut -f3 -d/)
stores "lib" instead of x86_64-linux-gnu in my case.
the correct line (tested) should be:
multiarch_dir=$(ldd /usr/sbin/dhcpcd | awk '/libc.so./ { print $3 }'
| cut -f4 -d/)
since ldd produces
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6
(0x00007f5baec00000)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2037156/+subscriptions
More information about the foundations-bugs
mailing list