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

Junichi Uekawa dancer at netfort.gr.jp
Tue Aug 15 21:51:03 UTC 2006


Hi,

> 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?

or disallow such configuration.

Sounds a bit fragile to me.

Either way, patch is welcome, and I even think you have commit access
to the repository too.


regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project




More information about the Pbuilder-maint mailing list