When mount phase fails, pbuilder unmount directories of other chroots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pbuilder (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When the mount phase of pbuilder fails, pbuilder umounts directories that have already been successfully mounted (/usr/lib/
If the directory is bind-mounted several times in others, unrelated, chroots it tries to unmount all of them.
For example (full log attached) on the log below note that PIDs in cow.<PID> are different:
I: umounting /var/lib/
umount: /var/cache/
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /var/cache/
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /var/cache/
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /var/cache/
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /var/cache/
umount: /var/cache/
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /var/cache/
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /var/cache/
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
line 278 of /usr/lib/
mounted[
instead of $mnt only.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: pbuilder 0.213ubuntu1
ProcVersionSign
Uname: Linux 3.8.0-12-generic x86_64
ApportVersion: 2.9.1-0ubuntu1
Architecture: amd64
Date: Mon Mar 18 15:24:51 2013
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: pbuilder
UpgradeStatus: Upgraded to raring on 2012-01-31 (411 days ago)
Changed in pbuilder (Ubuntu): | |
importance: | Undecided → Medium |
Thanks.
https:/ /anonscm. debian. org/git/ pbuilder/ pbuilder. git/commit/ ?id=772dd1f9e3e 13b6b640eb58c3c 855a1ce867384f