[systemd-devel] Questions about systemd's "root storage daemon" concept

Lennart Poettering lennart at poettering.net
Tue Jan 26 10:33:51 UTC 2021


On Di, 26.01.21 01:19, Martin Wilck (mwilck at suse.com) wrote:

> On Mon, 2021-01-25 at 18:33 +0100, Lennart Poettering wrote:
> >
> > Consider using IgnoreOnIsolate=.
> >
>
> I fail to make this work. Installed this to the initrd (note the
> ExecStop "command"):



>
> [Unit]
> Description=NVMe Event Monitor for Automatical Subsystem Connection
> Documentation=man:nvme-monitor(1)
> DefaultDependencies=false
> Conflicts=shutdown.target
> Requires=systemd-udevd-kernel.socket
> After=systemd-udevd-kernel.socket

Why do you require this?

My guess: the socket unit gets shutdown, and since you have Requires=
on it you thus go away too.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list