lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: umount(/proc) after CLONE_NEWNS in 2.6.25?
On Tue, Apr 29, 2008 at 03:06:38AM +0100, Al Viro wrote:

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

... or something much simpler:

; cat /proc/mounts |grep proc
proc /proc proc rw,nosuid,nodev,noexec 0 0
usbfs /proc/bus/usb usbfs rw 0 0
;

and unmounting the stuff mounted under /proc before doing umount /proc
works as expected. Amazing how well the first cup of coffee helps...


\
 
 \ /
  Last update: 2008-04-29 04:15    [W:0.050 / U:2.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site