Re: [Tails-dev] Building without a proxy?
05/09/2012 05:58 PM, Maxim Kammerer: > On Wed, May 9, 2012 at 6:01 PM, Ague Mill wrote: >> Does anyone around build Tails *without* using a local HTTP proxy and >> setting the "http_proxy" environment variable? > > Note the mention of /etc/resolv.conf above. I found that bug at the > end of 2010 (commit 54d9702), when a user without *_proxy variables > had builds failing due to non-working DNS. It could be the reason for > failing builds in your case. It's a somewhat similar issue AFAICT. The breakage happens right after we copy in our local includes to the chroot. Specifically it seems like config/chroot_local-includes/etc/apt/apt.conf.d/runtime-proxy is the culprit as it sets: Acquire::http::Proxy "http://127.0.0.1:8118/";; As you can see in the end of the buildlog from my failed try to build without any proxies, the above proxy is unsuccessfully used: [...] P: Begin copying chroot local includes... 44990 blocks P: Begin applying chroot local patches... Reading package lists... Building dependency tree... Reading state information... Suggested packages: ed diffutils-doc The following NEW packages will be installed: patch 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 122 kB of archives. After this operation, 250 kB of additional disk space will be used. Err http://ftp.us.debian.org/debian/ squeeze/main patch i386 2.6-2 Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused) Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/patch /patch_2.6-2_i386.deb Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused) E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? P: Begin unmounting filesystems... Command exited with non-zero status 100 156.55user 50.57system 1:05:19elapsed 5%CPU (0avgtext+0avgdata 529872maxresident)k 2472inputs+9691528outputs (90major+18159422minor)pagefaults 0swaps lb build failed. I had anticipated that this was the problem even before starting this build, so in addition to squid-deb-proxy I had also turned off privoxy that happens to listen on port 8118, the same port polipo listens on inside Tails and that we want Tails' apt to use. That setting seems to be overridden by the environment set in /etc/live/build.conf though, so that's why it works for us using a caching proxy to build Tails. I have to run now, so unless someone has fixed this until tomorrow I'll have a look. Cheers! signature.asc Description: OpenPGP digital signature ___ tails-dev mailing list tails-dev@boum.org https://mailman.boum.org/listinfo/tails-dev
Re: [Tails-dev] Building without a proxy?
On Wed, May 9, 2012 at 6:01 PM, Ague Mill wrote: > Does anyone around build Tails *without* using a local HTTP proxy and > setting the "http_proxy" environment variable? Note the mention of /etc/resolv.conf above. I found that bug at the end of 2010 (commit 54d9702), when a user without *_proxy variables had builds failing due to non-working DNS. It could be the reason for failing builds in your case. -- Maxim Kammerer Liberté Linux (discussion / support: http://dee.su/liberte-contribute) ___ tails-dev mailing list tails-dev@boum.org https://mailman.boum.org/listinfo/tails-dev
Re: [Tails-dev] Building without a proxy?
On Wed, May 09, 2012 at 04:49:28PM +0200, intrigeri wrote: > Ague Mill wrote (09 May 2012 10:31:23 GMT) : > > Does anyone around build Tails with using a local HTTP proxy and > > setting the "http_proxy" environment variable? Oops. The "with" above should has been "without". So here we go again: Does anyone around build Tails *without* using a local HTTP proxy and setting the "http_proxy" environment variable? > I don't understand what the problem is, and I'm unsure about the > actual question you're asking. Theory: build fails when "http_proxy" is not set. If true, that's bad. Can't verify, lack proper bandwidth. -- Ague pgpvylP9mhZgh.pgp Description: PGP signature ___ tails-dev mailing list tails-dev@boum.org https://mailman.boum.org/listinfo/tails-dev
Re: [Tails-dev] Building without a proxy?
Hi, Ague Mill wrote (09 May 2012 10:31:23 GMT) : > Does anyone around build Tails with using a local HTTP proxy and > setting the "http_proxy" environment variable? I build using: export http_proxy='http://10.xx.yy.zz:8000/ > The build Yos tried earlier on inside the Vagrant build setup [1] failed > with APT trying to reach packages using 127.0.0.1:8118 [2]. In my > understanding, anything set in apt.conf about proxying will be overriden > by a local 'http_proxy' environment variable, hence the former question. > Otherwise, I think our build system is broken. But I bet this has not > been figured out yet, as we were all building using local proxies. I don't understand what the problem is, and I'm unsure about the actual question you're asking. Anyway, FWIW, the build system I use is documented there: https://tails.boum.org/contribute/build/squid-deb-proxy/ Perhaps Yos (or the Vagrant file) did not read the section there about LB_APT_HTTP_PROXY? ___ tails-dev mailing list tails-dev@boum.org https://mailman.boum.org/listinfo/tails-dev
Re: [Tails-dev] Building without a proxy?
On Wed, May 9, 2012 at 1:31 PM, Ague Mill wrote: > Does anyone around build Tails with using a local HTTP proxy and setting > the "http_proxy" environment variable? FWIW, Liberté's "enter" script passes the following through: RSYNC_PROXY http_proxy https_proxy ftp_proxy no_proxy and copies host's /etc/resolv.conf over (which is later excluded from the build). -- Maxim Kammerer Liberté Linux (discussion / support: http://dee.su/liberte-contribute) ___ tails-dev mailing list tails-dev@boum.org https://mailman.boum.org/listinfo/tails-dev
[Tails-dev] Building without a proxy?
Hi! Does anyone around build Tails with using a local HTTP proxy and setting the "http_proxy" environment variable? The build Yos tried earlier on inside the Vagrant build setup [1] failed with APT trying to reach packages using 127.0.0.1:8118 [2]. In my understanding, anything set in apt.conf about proxying will be overriden by a local 'http_proxy' environment variable, hence the former question. Otherwise, I think our build system is broken. But I bet this has not been figured out yet, as we were all building using local proxies. [1] https://tails.boum.org/todo/build_with_vagrant/ [2] http://paste.ubuntu.com/977485/ Cheers, -- Ague pgpcUrvBo7ynF.pgp Description: PGP signature ___ tails-dev mailing list tails-dev@boum.org https://mailman.boum.org/listinfo/tails-dev