[systemd-devel] remounting root fs outside containers as MS_SHARED
Ani Sinha
ani at arista.com
Wed May 14 22:17:59 PDT 2014
>>
>> Why pivot_root() fails ?
>
> pivot_root() fails because of the following code in linux kernel :
>
> http://lxr.free-electrons.com/source/fs/namespace.c#L2730
>
> any code that calls pivot_root() under / will fail with EINVAL.
>
This is the redhat bug that discusses the kernel behavior :
https://bugzilla.redhat.com/show_bug.cgi?id=847418
So what is the position here? Do we have to live with a broken
pivot_root() with this systemd change?
Ani
More information about the systemd-devel
mailing list