[systemd-devel] unable to attach pid to service delegated directory in unified mode after restart

Michal Koutný mkoutny at suse.com
Fri Mar 18 14:04:34 UTC 2022


On Fri, Mar 18, 2022 at 09:53:57AM +0100, Felip Moll <felip at schedmd.com> wrote:
> Is that a bug then?

IMHO it's an implementation detail (regardless of Delegate=) that can be
changed, provided the cgroup is eventually removed and they don't
accumulate.

The current behavior of RemainAfterExit=yes is intentional and age old [1].

0.02€,
Michal

[1] https://github.com/systemd/systemd/commit/f6023656e10823dff9e4b9f70628b671b3f4ed96


More information about the systemd-devel mailing list