Bug#520937: pbuilder --execute fails in a i386 builder on a amd64 host started from a 64bit shell

Mattia Rizzolo mattia at debian.org
Sat May 28 18:58:42 UTC 2016


On Thu, Mar 26, 2009 at 12:20:21PM +0100, Andreas Beckmann wrote:
> a) Print a warning message "Copying binaries into the pbuilder chroot
> and running them there may not work!" if 'file $SCRIPT' returns
> something containing "binary".

meh, no.  If people knows what a binary is I very much they can deal
with it, otherwise imho they are doing something they shouldn't be
doing.

> b) add a --nocopy (or choose a better name) flag so that
>        sudo pbuilder execute --nocopy -- /bin/echo hello world
> will execute the binary found inside the chroot.

For this, please consider opening a separeted bug, simply stating
"please allow executing direct commands into che chroot without the need
of an exeternal script" or something on that line.

> Deriving some automatism to detect the users intentions ('copy and
> execute' or 'just execute what's in the chroot') will be hard and
> more confusing.

Indeed.


For now, I'll consider this bug closed after a better --help message
(please comment on the commit that is coming (will be announced in the
bug))

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://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: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20160528/188645bf/attachment.sig>


More information about the Pbuilder-maint mailing list