Bug#805552: pbuilder: please do the umounts as a last action

Mattia Rizzolo mattia at mapreri.org
Thu Nov 19 12:38:40 UTC 2015


Package: pbuilder
Version: 0.220
Severity: minor
User: pbuilder at packages.debian.org
Usertag: pbuilder
X-Debbugs-CC: corsac at debian.org
Control: submitter -1 corsac at debian.org


Let me open another bug for this :)

----- Forwarded message from Yves-Alexis Perez <corsac at debian.org> -----

Date: Thu, 19 Nov 2015 11:40:22 +0100
From: Yves-Alexis Perez <corsac at debian.org>
To: 652527 at bugs.debian.org, 652527-reporter at bugs.debian.org
Subject: Bug#652527: Update on this

I tried to start using an I hook for the exact same reason (dpkg-
scanpackages), but my $BUILDRESULT is a specific folder in my homedir, which
is bind mounted by pbuilder.

Unfortunately, the bind-mounts are removed *before* I hooks are run, which
means I actually can't use it for that.

Is there a possibility to unmount stuff after that?

----- End forwarded message -----

I actually see no reason to umount stuff before the very end, and given
that this behaviour is not documented, so I'm tempted to change this.
Personally I'd also find it more clean/clear.
See the attached diff, would it solve the problem for you?  Maybe you
can think of any downside?

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pbuilder.diff
Type: text/x-diff
Size: 1363 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20151119/aded980d/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20151119/aded980d/attachment.sig>


More information about the Pbuilder-maint mailing list