[systemd-devel] Cleaning up transient scopes
Umut Tezduyar Lindskog
umut at tezduyar.com
Thu Mar 5 00:01:11 PST 2015
On Thu, Mar 5, 2015 at 12:00 AM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Wed, 04.03.15 18:51, Alexander Larsson (alexl at redhat.com) wrote:
>> If i run a transient scope on the user systemd instance like:
>> $ systemd-run --user --scope true
>> Then the scope seems to live past the end of the process. Is there any
>> way to make it automatically go away with the last process in the
> Well, yes, the idea is that that just works. However, this is kinda
> broken if the systemd instance managing your scope is not PID 1, as we
> don't get SIGCHLD then.
It has been broken for PID 1 too for some time,
> Do you create any subcgroups? presumably not?
> Normally it should just work then, but I must admit that --user scopes
> got much less testing that system scopes...
> Lennart Poettering, Red Hat
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
More information about the systemd-devel