[Pkg-ltsp-devel] Bug#766460: ltsp-client-builder: Need to set web proxy environment in postinst

Petter Reinholdtsen pere at hungry.com
Thu Oct 23 18:11:05 UTC 2014


[Vagrant Cascadian]
> By the time ltsp-client-builder runs, apt should be configured in the
> installed system, and the http-proxy plugin should use the proxy
> configured in apt:
> 
>   /usr/share/ltsp/plugins/ltsp-build-client/Debian/010-http-proxy

Right.  But I guess it is running too late. :(

> It doesn't currently have code for https_proxy, but it would be
> reasonably easy to add. In the apt configuration, there's also
> ftp_proxy, not sure if that's needed as well.

We use http now for everything, so Debian Edu do not need the ftp
proxy nor the https proxy.  But I agree, settig them all would be
fine. :)

> This is feasible to add, although I'd like to know why it isn't
> working with the plugins already in place...

The wget call in the script
<URL: https://anonscm.debian.org/cgit/debian-edu/debian-edu-config.git/tree/share/ltsp/plugins/ltsp-build-client/Debian-custom/000-arch-detection >
got stuck because wget did not use the proxy set in d-i.  I had to add
a timeout to avoid a endless hang.

-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-ltsp-devel mailing list