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 <lenn...@poettering.net> wrote: > On Do, 16.01.25 22:06, Sumit Kumar (sumit.kum...@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 >