[systemd-devel] How to prevent an initramfs service from being stopped at switch-root ?

John Lane systemd at jelmail.com
Mon Jan 11 04:39:10 PST 2016


I have some services in my initramfs that unlock some crypto volumes to
make the root and some other filesystems available.

Looking at the journal, I can see that the initramfs (at switch-root
time) tries to kill these services but this fails because the
filesystems are mounted by this point. I would like these services not
to be killed at switch-root time. How can I mark them such ?




More information about the systemd-devel mailing list