<div dir="ltr">On Tue, Mar 10, 2015 at 10:37 PM, Julien <<a href="mailto:julien.malik%2Blxc@paraiso.me">julien.malik+lxc@paraiso.me</a>> wrote:<br>> Hi,<br>><br>> I fail to lxc-create containers with the download template through a SOCKS<br>> proxy.<br>><br>> I usually use tsocks to provide socks support to my application.<br>> tsocks uses the LD_PRELOAD trick to provide socks support to application<br>> that do not natively support it.<br>> lxc-create might not like it.<br>><br>> I get these errors :<br>><br>> $ tsocks lxc-create -t download -n trusty2<br>> 15:52:06 libtsocks(14728): Unresolved symbol: connect<br>> 15:52:07 libtsocks(14728): Unresolved symbol: close<br>> 15:52:07 libtsocks(14729): Unresolved symbol: connect<br>> 15:52:07 libtsocks(14729): Unresolved symbol: close<br>> 15:52:07 libtsocks(14736): Unresolved symbol: connect<br>> 15:52:07 libtsocks(14736): Unresolved symbol: close<br>> 15:52:07 libtsocks(14742): Unresolved symbol: connect<br>> 15:52:07 libtsocks(14742): Unresolved symbol: close<br>> 15:52:07 libtsocks(14748): Unresolved symbol: connect<br>> 15:52:07 libtsocks(14748): Unresolved symbol: close<br>> Setting up the GPG keyring<br>><br>> And then it hangs at that point.<br>> Any advice on how to run lxc-create through a SOCKS proxy ?<br><br><div>Are you able to get gpg to work with tsocks? <a href="http://lists.gnupg.org/pipermail/gnupg-users/2002-April/012692.html">This thread</a> (and <a href="http://lists.gnupg.org/pipermail/gnupg-users/2002-April/012695.html">the reply</a>) seems to say so. The fix is beyond the scope of this list. Reporting the bug to gpg or tsocks maintainer might help, although I doubt they will make it a priority since a workaround already exists.</div><div><br></div><div>-- </div><div>Fajar</div></div>