<div dir="ltr">Hi Lennart,<br>Thanks for the reply.<br><br>System is not always going in emergency mode, sometimes it boots successfully. <br>But when the system goes in emergency mode we can see this unit is masked.<br>We are not masking the cryptsetup.target file.<br><br>Regards,<br>Sumit Kumar</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Jan 16, 2025 at 9:08 PM Lennart Poettering <<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Do, 16.01.25 14:18, Sumit Kumar (<a href="mailto:sumit.kumar1@trellix.com" target="_blank">sumit.kumar1@trellix.com</a>) wrote:<br>
<br>
> Hi ,<br>
><br>
> Our Linux based system uses an external storage disk called capture.<br>
> The capture disk is encrypted with LUKS to protect stored data. During<br>
> system boot, system uses the LUKS utilities to decrypt the disk before<br>
> mounting the file systems containing the stored data. Due to an issue with<br>
> inconsistent ordering of decryption and mounting services during system<br>
> bootup, during reboots the system with capture disk can get into emergency<br>
> mode.<br>
<br>
You void your warranty if you mask fundamental units of systemd:<br>
<br>
> LoadError=org.freedesktop.systemd1.UnitMasked "Unit cryptsetup.target<br>
> is masked."<br>
<br>
This disables key synchronization points, and the things just fail.<br>
<br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Berlin<br>
</blockquote></div>