[Bug 1917539] [NEW] /usr/share/initramfs-tools/hooks/lvm2 is not executable
Eugene Crosser
1917539 at bugs.launchpad.net
Tue Mar 2 23:55:01 UTC 2021
Public bug reported:
after a recent (yesterday/today) upgrade of hirsute, it could not boot
from LUKS root, dropping to inirtamfs. Investigation showed that `lvm`
binary is not present in initramfs generated by initramfs-tools. When I
ran `initrmfs-tools` by hand with `-v` option, I noticed the message:
/usr/share/initramfs-tools/hooks/lvm2 ignored: not executable
(this message does not show up when initramfs-tools is run without `-v`)
Sure enough, after manually changing permissions to all-executable and rerunning initramfs-tools the binary is included in initrd and system boots normally. But reinstalling lvm2 resets permissions again:
$ ls -l /usr/share/initramfs-tools/hooks/lvm2
-rw-r--r-- 1 root root 691 Feb 8 16:25 /usr/share/initramfs-tools/hooks/lvm2
and on the next build, initrd does not contain lvm binary again.
lvm2: 2.03.11-2ubuntu2
initramfs-tools: 0.137ubuntu12
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: lvm2 2.03.11-2ubuntu2
ProcVersionSignature: Ubuntu 5.10.0-14.15-generic 5.10.11
Uname: Linux 5.10.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu59
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 3 00:35:15 2021
InstallationDate: Installed on 2020-01-02 (425 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Alpha amd64 (20190802)
SourcePackage: lvm2
UpgradeStatus: Upgraded to hirsute on 2021-02-22 (8 days ago)
** Affects: lvm2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug hirsute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1917539
Title:
/usr/share/initramfs-tools/hooks/lvm2 is not executable
Status in lvm2 package in Ubuntu:
New
Bug description:
after a recent (yesterday/today) upgrade of hirsute, it could not boot
from LUKS root, dropping to inirtamfs. Investigation showed that `lvm`
binary is not present in initramfs generated by initramfs-tools. When
I ran `initrmfs-tools` by hand with `-v` option, I noticed the
message:
/usr/share/initramfs-tools/hooks/lvm2 ignored: not executable
(this message does not show up when initramfs-tools is run without `-v`)
Sure enough, after manually changing permissions to all-executable and rerunning initramfs-tools the binary is included in initrd and system boots normally. But reinstalling lvm2 resets permissions again:
$ ls -l /usr/share/initramfs-tools/hooks/lvm2
-rw-r--r-- 1 root root 691 Feb 8 16:25 /usr/share/initramfs-tools/hooks/lvm2
and on the next build, initrd does not contain lvm binary again.
lvm2: 2.03.11-2ubuntu2
initramfs-tools: 0.137ubuntu12
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: lvm2 2.03.11-2ubuntu2
ProcVersionSignature: Ubuntu 5.10.0-14.15-generic 5.10.11
Uname: Linux 5.10.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu59
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 3 00:35:15 2021
InstallationDate: Installed on 2020-01-02 (425 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Alpha amd64 (20190802)
SourcePackage: lvm2
UpgradeStatus: Upgraded to hirsute on 2021-02-22 (8 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1917539/+subscriptions
More information about the foundations-bugs
mailing list