[Touch-packages] [Bug 2037156] Re: initramfs-tools 0.142ubuntu12 fails on upgrade: wrong multiarch libdir Edit

2023-09-23 Thread Launchpad Bug Tracker
This bug was fixed in the package initramfs-tools - 0.142ubuntu13

---
initramfs-tools (0.142ubuntu13) mantic; urgency=medium

  * Support usr-merged library path when detecting mutliarch dir (LP:
#2037156)

 -- Benjamin Drung   Sat, 23 Sep 2023 13:45:37 +0200

** Changed in: initramfs-tools (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Fix Released

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
  (0x7f5baec0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2037156/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2037156] Re: initramfs-tools 0.142ubuntu12 fails on upgrade: wrong multiarch libdir Edit

2023-09-23 Thread Benjamin Drung
** Changed in: initramfs-tools (Ubuntu)
   Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Fix Committed

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
  (0x7f5baec0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2037156/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2037156] Re: initramfs-tools 0.142ubuntu12 fails on upgrade: wrong multiarch libdir Edit

2023-09-23 Thread Benjamin Drung
Thank you for taking the time to report this bug and helping to make
Ubuntu better. I'll change that code so support both /lib and /usr/lib:

multiarch_dir=$(ldd /usr/sbin/dhcpcd | sed -En
's;^.*/lib/([^/]+)/libc\.so\..*$;\1;p')


** Changed in: initramfs-tools (Ubuntu)
   Status: New => Triaged

** Changed in: initramfs-tools (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Triaged

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
  (0x7f5baec0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2037156/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp