Hi,<div><br></div><div>Sorry for the delay. I will do it, however I will not have the time before january.</div><div><br></div><div>-- </div><div>Ismael<br><br>Le mardi 22 décembre 2015, Andrew Vagin <<a href="mailto:avagin@odin.com">avagin@odin.com</a>> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Dec 17, 2015 at 04:20:51PM +0300, Andrew Vagin wrote:<br>
> On Sat, Oct 31, 2015 at 11:51:27PM +0100, ismael wrote:<br>
> > --- a/mount.c<br>
> > +++ b/mount.c<br>
> > @@ -2246,6 +2246,25 @@ static int cr_pivot_root(char *root)<br>
> > }<br>
> > }<br>
> ><br>
> > + if (opts.ramdisk) {<br>
><br>
> cr_pivot_root() is called twice:<br>
><br>
> 1. to switch root of the root mount namespace<br>
><br>
> 2. to switch root of a sub-mount namespace<br>
><br>
> This code should be executed only for the first case. And pivot_root<br>
> should be used to restore sub-namespaces, because it allow to clean up<br>
> of extra mounts.<br>
><br>
<br>
Hi Ismael,<br>
<br>
Are you going to fix this? If you don't have time now, I can help.<br>
<br>
Thanks,<br>
Andrew.<br>
</blockquote></div>