/usr/share/initramfs-tools/hooks/lvm2 does not have executable bit set

Bug #1916032 reported by Haowei Wen
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
Triaged
High
Unassigned

Bug Description

In lvm2 2.03.11-2ubuntu1, /usr/share/initramfs-tools/hooks/lvm2 is not an executable.

$ dpkg-deb -c lvm2_2.03.11-2ubuntu1_amd64.deb | grep /usr/share/initramfs-tools/hooks/lvm2
-rw-r--r-- root/root 691 2021-02-08 23:25 ./usr/share/initramfs-tools/hooks/lvm2

Systems whose root filesystem is on LVM will be unable to boot, because /sbin/lvm is not included in initramfs.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lvm2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Leandro Piccilli (piccilli) wrote :

I confirm my installation using luks + lvm is unable to boot due to the missing lvm binary in the initramfs.

tags: added: hirsute
Changed in lvm2 (Ubuntu):
status: Confirmed → Triaged
tags: added: rls-hh-incoming
Changed in lvm2 (Ubuntu):
importance: Undecided → High
Revision history for this message
Christof Arnosti (charnocc) wrote :

To fix a non-booting system:
- Boot from live-linux
- Mount all file systems of installation to /mnt/ (this depends on your setup)
- chroot /mnt/
- chmod 766 /usr/share/initramfs-tools/hooks/lvm2
- update-initramfs -c -k all
- reboot

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.