-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Description
Submission type
Bug report
systemd version the issue has been seen with
systemd 234
+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN default-hierarchy=hybrid
Used distribution
Arch Linux (testing repos)
uname -a:
Linux hostname 4.12.2-1-ARCH #1 SMP PREEMPT Sat Jul 15 20:18:04 UTC 2017 x86_64 GNU/Linux
In case of bug report: Expected behaviour you didn't see
I should be prompted to enter a passphrase for the root partition, then boot should proceed as normal.
In case of bug report: Unexpected behaviour you saw
- Failed to start Cryptography Setup for root...
- Dependency failed for Encrypted Volumes, dev-mapper-root.device, Initrd Boot Device, FS check, /sysroot, Initrd Root Device, Reload Configuration from the Real Boot
- Drops to emergency mode, but no recovery shell starts
In case of bug report: Steps to reproduce the problem
-
Have sysroot be a LUKS partition
-
In bootloader use kernel options
rw luks.name=<UUID of LUKS partition>=root root=/dev/mapper/root -
Build initramfs with hooks
base systemd autodetect modconf block keyboard sd-vconsole sd-encrypt filesystems -
Reboot
Issue disappears after downgrading to last cached package - v233.
Workarounds:
-
Fill in
/etc/crypttab.initramfswith name, UUID, andnone, rebuild initramfs, only specifyroot=/dev/mapper/namein kernel options -
Use
luks.options=timeout=30sin kernel options. Values of30sand0swork as normal, but0causes the same behaviour.
ebkalderon, cengiz-io, userwithuid, chrisnew, nochiel and 1 more