[lxc-devel] [Devel] Re: LXC container, unmounting unneeded mount points (from the container namespace)
Michael Holzt
lxc at my.fqdn.org
Wed Jan 13 14:07:38 UTC 2010
> >When I throw in some debugging prints, I find out that it's complaining
> >that it can't umount {pivotdir}/dev. Commented out the return -1's in
> >that routine so it starts the container anyways and jump into the
> >running container and I discover that {pivotdir}/dev/shm is still
> >mounted even though it thinks it umounted it. I can see from the
> >debugging prints that it seems to have successfully umount it (the
> >debugging message indicates that it umounted it - so it saw it had it
> >and tried and got a good return from the attempt) but it's apparently
> >still mount.
This is strange. I will have a look into it.
> > If I umount that {pivotdir}/dev/shm inside the container,
> > I can then umount {pivotdir}/dev and {pivotdir}.
This is even more strange as the umount actually happens "inside" the
container.
Regards
Michael
--
It's an insane world, but i'm proud to be a part of it. -- Bill Hicks
More information about the lxc-devel
mailing list