[Bug 805886] Re: /proc does not get umounted after debootstrap

Francesco Del Degan f.deldegan at pr0gg3d.net
Tue Aug 2 10:33:03 UTC 2011


I think that this is related to this behaviour on debootstrap exit, when
it tries to umount the chrooted /proc:

root at oneiric:/var/cache/pbuilder/build/26972# umount /var/cache/pbuilder/build//26972/./proc
umount: /proc: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

but the very odd behaviour is that if i try to do (changing working
dir):

root at oneiric:/var/cache/pbuilder/build/26972# cd ..
root at oneiric:/var/cache/pbuilder/build# umount /var/cache/pbuilder/build//26972/./proc
root at oneiric:/var/cache/pbuilder/build# 

Using mount 2.17.2-9.1ubuntu4 there are no issues.

The mounting is done via chroot, so the entry in /etc/mtab isn't
present.

I think that it's more related to http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=634107


** Bug watch added: Debian Bug tracker #634107
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634107

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

Title:
  /proc does not get umounted after debootstrap

Status in “util-linux” package in Ubuntu:
  Confirmed
Status in “debootstrap” package in Debian:
  Unknown

Bug description:
  It seems that debootstrap does NOT umount /proc in the chroot after
  its run.

  This causes for example pbuilder to fail, as it tries to remount /proc

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




More information about the foundations-bugs mailing list