From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757277AbYD2CGt (ORCPT ); Mon, 28 Apr 2008 22:06:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751420AbYD2CGk (ORCPT ); Mon, 28 Apr 2008 22:06:40 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:57117 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751411AbYD2CGj (ORCPT ); Mon, 28 Apr 2008 22:06:39 -0400 Date: Tue, 29 Apr 2008 03:06:38 +0100 From: Al Viro To: Michael Tokarev Cc: Linux-kernel Subject: Re: umount(/proc) after CLONE_NEWNS in 2.6.25? Message-ID: <20080429020638.GJ5882@ZenIV.linux.org.uk> References: <481609A5.1080905@msgid.tls.msk.ru> <20080428182759.GF5882@ZenIV.linux.org.uk> <20080429014718.GI5882@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080429014718.GI5882@ZenIV.linux.org.uk> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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...