[Touch-packages] [Bug 759394] Re: can not umount rbind mounts

2017-06-15 Thread Phillip Susi
** Changed in: util-linux (Ubuntu)
   Status: Opinion => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/759394

Title:
  can not umount rbind mounts

Status in util-linux package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: util-linux

  mkdir /mnt/dev
  mount --rbind /dev /mnt/dev
  umount /mnt/dev

  The umount fails because of the sub mounts that the recursive bind
  also bind mounted under /mnt/dev, which you have to remove manually
  first.  When you mount with --rbind, umount should be able to reverse
  the process, unmounting all recursively bound mounts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/759394/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 759394] Re: can not umount rbind mounts

2017-06-14 Thread Ivan Zakharyaschev
This worked for me correctly --
https://unix.stackexchange.com/a/264488/4319 :

mount --rbind /dev /mnt/test
mount --make-rslave /mnt/test
umount -R /mnt/test

It was important to have the two first commands as two separate
commands: do not combine --rbind and --make-rslave in one invocation of
mount.

Without --make-rslave , the behavior was unwanted (and not successful):

* umount -l would affect the original old mountpoints, too,
* and umount -R would be affected by the busy (open) files under the original 
old mountpoints. (Very unexpected...)

** Changed in: util-linux (Ubuntu)
   Status: Confirmed => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/759394

Title:
  can not umount rbind mounts

Status in util-linux package in Ubuntu:
  Opinion

Bug description:
  Binary package hint: util-linux

  mkdir /mnt/dev
  mount --rbind /dev /mnt/dev
  umount /mnt/dev

  The umount fails because of the sub mounts that the recursive bind
  also bind mounted under /mnt/dev, which you have to remove manually
  first.  When you mount with --rbind, umount should be able to reverse
  the process, unmounting all recursively bound mounts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/759394/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 759394] Re: can not umount rbind mounts

2016-11-04 Thread gouri
Hi.

Same problem here.  Some partitions still appear in `mount` output and 
`/proc/mounts` but can't be unmounted via either device name or mount point.
Repeatedly trying `umount -l` with device names and mount points finally 
managed to get the partitions unmounted.

Yet it feels awkward, like a worn out door lock that locks okay but you
have to shake for a while to have it unlock.

This is very likely not Ubuntu specific, e.g. 
http://unix.stackexchange.com/questions/120827/recursive-umount-after-rbind-mount

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/759394

Title:
  can not umount rbind mounts

Status in util-linux package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: util-linux

  mkdir /mnt/dev
  mount --rbind /dev /mnt/dev
  umount /mnt/dev

  The umount fails because of the sub mounts that the recursive bind
  also bind mounted under /mnt/dev, which you have to remove manually
  first.  When you mount with --rbind, umount should be able to reverse
  the process, unmounting all recursively bound mounts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/759394/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp