lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 29 Apr 2008 02:47:18 +0100
From:	Al Viro <viro@...IV.linux.org.uk>
To:	Michael Tokarev <mjt@....msk.ru>
Cc:	Linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: umount(/proc) after CLONE_NEWNS in 2.6.25?

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...

Please, make sure that you are using the same userland for testing - with
aforementioned version of umount(8) behaviour is triggered with .24 as well
as with .25 and there's nothing kernel could do about that...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ