Re: umount(/proc) after CLONE_NEWNS in 2.6.25?

From: Al Viro
Date: Mon Apr 28 2008 - 22:06:54 EST


On Tue, Apr 29, 2008 at 02:47:18AM +0100, Al Viro wrote:
> On Mon, Apr 28, 2008 at 07:27:59PM +0100, Al Viro wrote:
> > > [pid 6308] clone(child_stack=0xbfc9de94, flags=CLONE_NEWNS|SIGCHLD) = 6309
> > > [pid 6309] execve("/usr/sbin/umount", ["umount", "-n", "/proc"])
> > > ...
> > > [pid 6309] oldumount("/proc") = -1 EBUSY (Device or resource busy)
> > > umount: /proc: device is busy
> > >
> > > Yes, various NAMESPACEs are enabled (i'm trying to experiment with
> > > those).
> > >
> > > Is it intentional?
> >
> > It's very odd. Could you bisect that down to offending changeset or
> > at least narrow the things down to -rc<something>? I'm going down right
> > now, so won't be able to look into that until tonight...
>
> Check the version of umount(8) you've got. And see if that strace happens
> to have open of /proc/mounts, without matching close by the time it calls
> umount(). util-linux-ng 2.13.1 is _that_ dumb...

Umm... Looks like something more odd is going on...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/