<div dir="ltr">Imagine running systemd --user post-CLONE_NEWPID to manage services in the new namespace.<br><br>Cheers,<br>Vito Caputo<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 6, 2014 at 2:56 PM, Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 06.11.14 14:44, Vito Caputo (<a href="mailto:vito.caputo@coreos.com">vito.caputo@coreos.com</a>) wrote:<br>
<br>
Hmm? What is this about? Why would you want to run systemd --user as<br>
PID 1?<br>
<span class=""><br>
> diff --git a/src/core/main.c b/src/core/main.c<br>
> index d48604e..cd9d6ee 100644<br>
> --- a/src/core/main.c<br>
> +++ b/src/core/main.c<br>
> @@ -2013,7 +2013,7 @@ finish:<br>
>                            getpid() == 1 ? "freezing" : "quitting");<br>
>          }<br>
><br>
> -        if (getpid() == 1)<br>
> +        if (arg_running_as != SYSTEMD_USER && getpid() == 1)<br>
>                  freeze();<br>
><br>
>          return retval;<br>
> --<br>
> 2.1.1<br>
<br>
</span>> _______________________________________________<br>
> systemd-devel mailing list<br>
> <a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
</font></span></blockquote></div><br></div>