[Bug 1917539] Re: /usr/share/initramfs-tools/hooks/lvm2 is not executable

Daniel van Vugt 1917539 at bugs.launchpad.net
Thu Mar 4 07:29:51 UTC 2021


*** This bug is a duplicate of bug 1915579 ***
    https://bugs.launchpad.net/bugs/1915579

** This bug has been marked a duplicate of bug 1916032
   /usr/share/initramfs-tools/hooks/lvm2 does not have executable bit set

** This bug is no longer a duplicate of bug 1916032
   /usr/share/initramfs-tools/hooks/lvm2 does not have executable bit set
** This bug has been marked a duplicate of bug 1915579
   version 2.03.11-2ubuntu1 breaks initramfs

-- 
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