Skip to content

sd-encrypt: include /usr/lib/systemd/systemd-makefs

mkswap is not enough for systemd-cryptsetup to create swap in early userspace, it additionally needs /usr/lib/systemd/systemd-makefs. Without it, the journal shows:

systemd[190]: systemd-cryptsetup@swap.service: Failed to locate executable /usr/lib/systemd/systemd-makefs: No such file or directory
systemd[190]: systemd-cryptsetup@swap.service: Failed at step EXEC spawning /usr/lib/systemd/systemd-makefs: No such file or directory
systemd[1]: systemd-cryptsetup@swap.service: Control process exited, code=exited, status=203/EXEC
systemd[1]: systemd-cryptsetup@swap.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Cryptography Setup for swap.
systemd[1]: Dependency failed for Local Encrypted Volumes.

Fixes #3 (closed)

Merge request reports