<div dir="ltr">John has a more elegant response to this same question here:<div><br></div><div><a href="http://askubuntu.com/questions/764610/how-to-install-snap-packages-behind-web-proxy-on-ubuntu-16-04/773230#773230">http://askubuntu.com/questions/764610/how-to-install-snap-packages-behind-web-proxy-on-ubuntu-16-04/773230#773230</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 3:59 PM, Gustavo Niemeyer <span dir="ltr"><<a href="mailto:gustavo.niemeyer@canonical.com" target="_blank">gustavo.niemeyer@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Jian,<div><br></div><div>The snap tool is just a client to the snapd daemon. Changing its environment will not affect the running server.</div><div><br></div><div>We need to find a good way to update it easily. Meanwhile, you can find tune the snapd.service configuration via a systemd configuration file.</div><div><br></div><div>Please have a look here for a hint:</div><div><br></div><div><a href="http://serverfault.com/questions/413397/how-to-set-environment-variable-in-systemd-service" target="_blank">http://serverfault.com/questions/413397/how-to-set-environment-variable-in-systemd-service</a><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, May 20, 2016 at 3:33 PM, Jian LUO <span dir="ltr"><<a href="mailto:jian.luo.cn@gmail.com" target="_blank">jian.luo.cn@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi list,<div><br></div><div>can someone confirm this bug about snap ignoring the proxy environment variables?</div><div><br></div><div><a href="https://bugs.launchpad.net/snappy/+bug/1579652" target="_blank">https://bugs.launchpad.net/snappy/+bug/1579652</a><br></div><div><br></div><div>Cheers,</div><div><br></div><div>Jian</div></div>
<br></div></div><span class="HOEnZb"><font color="#888888">--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.ubuntu.com" target="_blank">Snapcraft@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a><br>
<br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>

</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div>