On Thu, May 15, 2014 at 3:25 AM, Lennart Poettering
<lenn...@poettering.net> wrote:

>> How do you propose softwares fix that?
>
> Note that systemd itself can do pivot_root() for you. See "systemctl
> switch-root". Isn't that enough for your needs?
>
> If not, please have a look how it is implemented  in systemd:
>
> http://cgit.freedesktop.org/systemd/systemd/tree/src/core/switch-root.c
>
> This code temporarily switches back to MS_PRIVATE before the switch,
> then the systemd invoked afterwards immediately switches back to
> MS_SHARED again.

IMHO, this looks like a hack to me. Was this discussed in the linux
kernel mailing list? May be you guys can convince the maintainer of
that kernel code to find a more elegant solution?

Ani
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to