[systemd-devel] fstab generator/capture.mount randomly fails which depend of cryptsetup.target

Lennart Poettering lennart at poettering.net
Thu Jan 16 21:04:19 UTC 2025


On Do, 16.01.25 22:06, Sumit Kumar (sumit.kumar1 at trellix.com) wrote:

> Hi Lennart,
> Thanks for the reply.
>
> System is not always going in emergency mode, sometimes it boots
> successfully.
> But when the system goes in emergency mode we can see this unit is masked.
> We are not masking the cryptsetup.target file.

Well, something is. Find out what that is. Masking of units is a tool
of last resort, it's not something that should be done in clean
codepaths.

I don't know your systems, but I am pretty sure if you figure out what
is masking cryptsetup.target you have your culprit.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list