dracut does not support booting from an encrypted ZFS volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dracut (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
zfs-linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Dracut does not support booting from an encrypted ZFS volume. Steps to reproduce:
1. In a VM install Ubuntu 24.10 with an encrypted ZFS volume
2. Install dracut afterwards: sudo apt install dracut zfs-dracut
3. Add rd.shell to the boot arguments
4. Reboot
The boot will fail:
```
dracut-
dracut-
[FAILED] Failed to mount sysroot.mount - /sysroot.
```
The initrd should have asked for the password, but it did not.
ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: dracut-core 102-3ubuntu2
ProcVersionSign
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelMo
ApportVersion: 2.28.1-0ubuntu4
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Jun 21 09:35:42 2024
InstallationDate: Installed on 2024-06-20 (1 days ago)
InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Daily amd64 (20240617)
ProcEnviron:
LANG=de_DE.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
XDG_RUNTIME_
SourcePackage: dracut
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: amd64 apport-bug oracular wayland-session |
Changed in dracut (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in dracut (Ubuntu): | |
milestone: | none → ubuntu-25.04 |
Status changed to 'Confirmed' because the bug affects multiple users.