Only libraries optimized for the running system end up in initramfs

Bug #1883883 reported by Balint Reczey
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
New
Low
Unassigned

Bug Description

... that may prevent rebooting to systems without the same optimization.

This can be observed by on EC2 m6g instances:

$ sudo apt install libc6-lse
$ sudo update-initramfs -k all -u
$ unmkinitramfs /boot/initrd.img i
$ ls i/
bin conf cryptroot etc init lib run sbin scripts usr var
$ cd i/
$ find . -name *pthread*
./usr/lib/aarch64-linux-gnu/atomics/libpthread.so.0
./usr/lib/aarch64-linux-gnu/atomics/libpthread-2.31.so

Luckily btrfs-progs does not play a role in rebooting, thus m6g instances can still be resized to a1 instance types, and I observed no failure when trying to do so.

Follow-up for LP: #1880853.

Revision history for this message
Balint Reczey (rbalint) wrote :

Since the m6g-> a1 resizes are IMO not likely when also using btrfs I'm marking this bug as low.

Changed in initramfs-tools (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.