Ok, I might seem pedantic but I wanted to point out this bit, sorry :)

On Mon, Jul 13, 2015 at 01:19:29AM +0200, gregor herrmann wrote:
> It seems to be a bit more complicated than that.
> 
> With "USENETWORK=no" I indeed see the failures:
[snip]
> but only during the build, when cowbuilder drops me into a shell, a
> manual `prove --blib --verbose t/*.t' works fine.

Indeed once you're dropped into a shell you're not anymore in the isolated
network namespace.
What pbuilder does is (roughly)

# run the build
unshare -n -- ${stuff to keep the loopback interface up} && chroot $buildplace 
&& dpkg-buildpackage $blabla

# if failed
${run the hook "C" to drop into the shell}

# finally
${remove the build place}


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

Attachment: signature.asc
Description: Digital signature

Reply via email to