On Do, 16.01.25 22:06, Sumit Kumar (sumit.kumar1@xxxxxxxxxxx) 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