[systemd-devel] fstab generator/capture.mount randomly fails which depend of cryptsetup.target
Lennart Poettering
lennart at poettering.net
Thu Jan 16 15:38:27 UTC 2025
On Do, 16.01.25 14:18, Sumit Kumar (sumit.kumar1 at trellix.com) wrote:
> Hi ,
>
> Our Linux based system uses an external storage disk called capture.
> The capture disk is encrypted with LUKS to protect stored data. During
> system boot, system uses the LUKS utilities to decrypt the disk before
> mounting the file systems containing the stored data. Due to an issue with
> inconsistent ordering of decryption and mounting services during system
> bootup, during reboots the system with capture disk can get into emergency
> mode.
You void your warranty if you mask fundamental units of systemd:
> LoadError=org.freedesktop.systemd1.UnitMasked "Unit cryptsetup.target
> is masked."
This disables key synchronization points, and the things just fail.
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list