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

Vagrant Cascadian vagrant at debian.org
Thu Oct 23 20:29:23 UTC 2014


On 2014-10-23, Petter Reinholdtsen wrote:
> [Vagrant Cascadian]
>> ltsp-client-builder udeb is essentially a wrapper around the
>> ltsp-build-client commandline tool. By setting the http_proxy
>> variable in the udeb, it doesn't resolve the issue when running the
>> tool from the commandline.
>
> Sure.  But in this case, my proposal is to set the proxy to the value
> used by debian-installer when running as part of debian-installer.
> This is different from and should be different from running it on the
> command line outside debian-installer, as the values from d-i should
> be used in this environment.

But ltsp-build-client does use the proxy configured in apt regardless of
weather it's running in debian-installer or not, and apt is configured
by debian-installer...


> Outside d-i, I would expect ltsp-build-client to inherit proxy values
> from the current environment, and this work already as far as I can
> tell.

But the script you referenced earlier would fail when run outside of
debian-installer, because it runs before the proxy values are set in the
ltsp-build-client plugins.

Given that the only code that breaks here is not part of LTSP, I think
it is appropriate to fix it in that code, not in LTSP.


live well
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ltsp-devel/attachments/20141023/0f783e73/attachment.sig>


More information about the Pkg-ltsp-devel mailing list