Hmmh so it wasnt ill intent? Im still learning On Sat, 8 Mar 2025, 02:05 l, <2070...@bugs.launchpad.net> wrote:
> This discussion might be relevant - > > https://www.reddit.com/r/zfs/comments/1g16637/whats_the_design_rationale_for_the_keystore_on/ > . > > Perhaps someone with knowledge on how the installer configures ZFS could > help out. > > Which component suppose to populate /run/keystore/rpool/system.key ? > > Why expecting a password prompt when dracut seems to be configured to > use a key ? > > What happens with `keylocation=prompt` ? > > -- > You received this bug notification because you are subscribed to Ubuntu > ubuntu-25.04. > Matching subscriptions: sjeremkjerkegor > https://bugs.launchpad.net/bugs/2070066 > > Title: > dracut does not support booting from an encrypted ZFS volume > > Status in dracut package in Ubuntu: > Triaged > Status in zfs-linux package in Ubuntu: > Confirmed > > 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-pre-mount[817]: Warning: ZFS: Key /run/keystore/rpool/system.key > for rpool hasn't appeared. Trying anyway. > dracut-pre-mount[863]: Key load error: Failed to open key material file: > No such file or directory > [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 > ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1 > Uname: Linux 6.8.0-31-generic x86_64 > NonfreeKernelModules: zfs > ApportVersion: 2.28.1-0ubuntu4 > Architecture: amd64 > CasperMD5CheckResult: pass > 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-256color > XDG_RUNTIME_DIR=<set> > SourcePackage: dracut > UpgradeStatus: No upgrade log present (probably fresh install) > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2070066/+subscriptions > > -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/2070066 Title: dracut does not support booting from an encrypted ZFS volume Status in dracut package in Ubuntu: Triaged Status in zfs-linux package in Ubuntu: Confirmed 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-pre-mount[817]: Warning: ZFS: Key /run/keystore/rpool/system.key for rpool hasn't appeared. Trying anyway. dracut-pre-mount[863]: Key load error: Failed to open key material file: No such file or directory [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 ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1 Uname: Linux 6.8.0-31-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.28.1-0ubuntu4 Architecture: amd64 CasperMD5CheckResult: pass 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-256color XDG_RUNTIME_DIR=<set> SourcePackage: dracut UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2070066/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp