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

Sumit Kumar sumit.kumar1 at trellix.com
Mon Feb 3 13:54:46 UTC 2025


Thanks Lennart for the suggestion.
Explicitly unmasking the cryptsetup.target unit makes things work.

Regards,
Sumit Kumar

On Fri, Jan 17, 2025 at 2:34 AM Lennart Poettering <lennart at poettering.net>
wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250203/4d78ae13/attachment.htm>


More information about the systemd-devel mailing list