[Bug 1864293] Re: apt autoremove removes cryptsetup-initramfs which causes boot to drop to initramfs shell on machine with LVM and full disk encryption
Julian Andres Klode
julian.klode at canonical.com
Fri Mar 6 14:13:25 UTC 2020
This is a regression in ubuntu-mate-meta which earlier added cryptsetup
as a dependency to workaround a bug in ubiquity/livecd-rootfs.
Now that depends got removed, causing the package to become
automatically installed.
It could run apt-mark manual cryptsetup in preinst or somewhere to
reduce the chance of that happening / making it impossible for users
upgrading from down (focal to focal is the real issue, really, as users
might do upgrade --autoremove).
** Package changed: cryptsetup (Ubuntu) => ubuntu-mate-meta (Ubuntu)
** Changed in: ubuntu-mate-meta (Ubuntu)
Assignee: Julian Andres Klode (juliank) => (unassigned)
** Changed in: ubuntu-mate-meta (Ubuntu)
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1864293
Title:
apt autoremove removes cryptsetup-initramfs which causes boot to drop
to initramfs shell on machine with LVM and full disk encryption
Status in ubuntu-mate-meta package in Ubuntu:
Triaged
Bug description:
Ubuntu Mate 20.04 dev release, upgraded from 19.10. LVM/disk encrypion
had been set up from the 19.10 installer and had been working
perfectly.
Today, when I try to boot, the splash screen stalls at the throbber
and doesn't open a prompt for my encryption key. After a minute or so
it drops to the initramfs shell. Rebooting without "silent splash" on
the cmdline shows that `/dev/mapper/vgubuntu--mate-root` cannot be
found, and running `ls /dev/mapper` outputs only `control`.
Rebooting with the 5.4.0-12 kernel works without any problems.
I've added `mitigations=off` to my default boot flags some time ago,
if that's relevant?
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-14-generic 5.4.0-14.17
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu17
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: neil 3193 F.... pulseaudio
CurrentDesktop: MATE
Date: Sat Feb 22 12:29:27 2020
InstallationDate: Installed on 2019-10-11 (133 days ago)
InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Beta amd64 (20190926.2)
MachineType: LENOVO 2325A39
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-12-generic root=/dev/mapper/vgubuntu--mate-root ro quiet splash mitigations=off
RelatedPackageVersions:
linux-restricted-modules-5.4.0-12-generic N/A
linux-backports-modules-5.4.0-12-generic N/A
linux-firmware 1.186
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux-5.4
UpgradeStatus: Upgraded to focal on 2020-02-07 (15 days ago)
dmi.bios.date: 06/19/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ETB3WW (2.73 )
dmi.board.asset.tag: Not Available
dmi.board.name: 2325A39
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrG2ETB3WW(2.73):bd06/19/2018:svnLENOVO:pn2325A39:pvrThinkPadX230:rvnLENOVO:rn2325A39:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.family: ThinkPad X230
dmi.product.name: 2325A39
dmi.product.sku: LENOVO_MT_2325
dmi.product.version: ThinkPad X230
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-mate-meta/+bug/1864293/+subscriptions
More information about the foundations-bugs
mailing list