Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#60907 - [systemd] sd-encrypt hook fails

Attached to Project: Arch Linux
Opened by Bario (barmadrid) - Sunday, 25 November 2018, 04:04 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 09 December 2018, 20:10 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Dave Reisner (falconindy)
Christian Hesse (eworm)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 5
Private No



On latest systemd version 239.300-2 sd-encrypt hook fails for LUKS encrypted partition/device with error:

A start job is running for dev-mapper-cryptroot.device

...and then dropping into the emergency shell.

Chrooting using Arch ISO and switching to udev and encrypt hooks and regenerating initramfs fixes that.

Hooks with issue reproduced:

HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block sd-encrypt filesystems fsck)
This task depends upon

Comment by André (FredericChopin) - Friday, 07 December 2018, 08:43 GMT
Also downgrading to systemd 239.2-1 helped to get sd-encrypt working again.
Comment by Ingo Albrecht (indigo) - Saturday, 12 January 2019, 19:37 GMT
Not affected, but I noticed a report involving key-files:

Maybe you can add more info, e.g. the boot parameters?