[Bug 534211] Re: Cannot umount /proc after using update-binfmts in a chroot

Colin Watson cjwatson at canonical.com
Fri Jan 25 11:40:26 UTC 2019


** Changed in: binfmt-support (Ubuntu)
       Status: Triaged => Fix Committed

** Changed in: binfmt-support (Ubuntu)
     Assignee: (unassigned) => Colin Watson (cjwatson)

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

Title:
  Cannot umount /proc after using update-binfmts in a chroot

Status in binfmt-support package in Ubuntu:
  Fix Committed
Status in ltsp package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: binfmt-support

  As part of LTSP fat client installations, the following instructions
  are performed (cut down version):

  $ chroot "$ROOT" mount -t proc proc /proc
  $ chroot "$ROOT" update-binfmts --import wine
  $ umount "$ROOT/proc"

  At this point we get:
  $ umount: /opt/ltsp/i386/proc: device is busy.
  $         (In some cases useful info about processes that use
  $         the device is found by lsof(8) or fuser(1))
  ...and we're forced to resort to `umount -l` to work around this problem.

  Is the any way to call update-binfmts in a chroot (e.g. to install
  wine) without having to resort to `umount -l`?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binfmt-support/+bug/534211/+subscriptions



More information about the foundations-bugs mailing list