Bug#382977: [Pbuilder-maint] Bug#382977: fails to umount with internal pdebuild

martin f krafft madduck at debian.org
Tue Aug 15 15:54:48 UTC 2006


also sprach Junichi Uekawa <dancer at netfort.gr.jp> [2006.08.15.1436 +0100]:
> Is your current-working-directory /tmp/pbuilder-shared by any chance?
> If so, the fix would probably be to have pbuilder 'cd /' before trying
> to umount.

No, it's not. And the problem happens with *every* bind mount,
except for the parent of the build directory, which I believe
--use-pdebuild-internal bindmounts.

I think I have found the root of the problem. I bind mount
/tmp/pbuilder-shared. If I build with --internal from
/tmp/postfix-2.3.2, pdebuild will bind-mount /tmp as the parent over
the /tmp holding the other bind-mounts, so they won't be accessible
until after /tmp is umounted again.

Solution? Maybe try to bind mount the user's bindmounts *after*
bind-mounting the parent when --internal is used?

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <madduck at debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20060815/d8b8cb62/attachment.pgp


More information about the Pbuilder-maint mailing list