lvm2 version 2.03.11-2ubuntu1 breaks initramfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Fix Released
|
Critical
|
Lukas Märdian |
Bug Description
I upgraded lvm2 from 2.03.07-1ubuntu4 to 2.03.11-2ubuntu1 and my initramfs broke. I had to manually rollback to the old version to be able to boot. The error was something like:
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mapper/
And there was no neither my lvm lvs, nor lvm binary on initramfs.
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: lvm2 2.03.07-1ubuntu4
ProcVersionSign
Uname: Linux 5.10.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu57
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 13 02:42:08 2021
InstallationDate: Installed on 2019-11-01 (469 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: lvm2
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in lvm2 (Ubuntu): | |
assignee: | nobody → Filipe Milani de Souza (filipemilanidesouza) |
status: | Confirmed → In Progress |
Changed in lvm2 (Ubuntu): | |
importance: | Undecided → Critical |
tags: | added: regression-release rls-hh-incoming |
Changed in lvm2 (Ubuntu): | |
assignee: | Filipe Milani de Souza (filipemilanidesouza) → nobody |
status: | In Progress → Confirmed |
Changed in lvm2 (Ubuntu): | |
status: | Confirmed → Triaged |
summary: |
- version 2.03.11-2ubuntu1 breaks initramfs + lvm2 version 2.03.11-2ubuntu1 breaks initramfs |
Changed in lvm2 (Ubuntu): | |
assignee: | nobody → Lukas Märdian (slyon) |
status: | Triaged → In Progress |
tags: | removed: rls-hh-incoming |
The new version of lvm sets wrong file permissions to /usr/share/ initramfs- tools/hooks/ lvm2 initramfs- tools/hooks/ lvm2 && sudo update-initramfs -u" the system will boot correctly.
This file should have 755 permission but after the upgrade it has 644.
If you "sudo chmod 755 /usr/share/