[lxc-users] lxc-create through socks proxy
Fajar A. Nugraha
list at fajar.net
Wed Mar 11 09:44:31 UTC 2015
On Tue, Mar 10, 2015 at 10:37 PM, Julien <julien.malik+lxc at paraiso.me>
wrote:
> Hi,
>
> I fail to lxc-create containers with the download template through a SOCKS
> proxy.
>
> I usually use tsocks to provide socks support to my application.
> tsocks uses the LD_PRELOAD trick to provide socks support to application
> that do not natively support it.
> lxc-create might not like it.
>
> I get these errors :
>
> $ tsocks lxc-create -t download -n trusty2
> 15:52:06 libtsocks(14728): Unresolved symbol: connect
> 15:52:07 libtsocks(14728): Unresolved symbol: close
> 15:52:07 libtsocks(14729): Unresolved symbol: connect
> 15:52:07 libtsocks(14729): Unresolved symbol: close
> 15:52:07 libtsocks(14736): Unresolved symbol: connect
> 15:52:07 libtsocks(14736): Unresolved symbol: close
> 15:52:07 libtsocks(14742): Unresolved symbol: connect
> 15:52:07 libtsocks(14742): Unresolved symbol: close
> 15:52:07 libtsocks(14748): Unresolved symbol: connect
> 15:52:07 libtsocks(14748): Unresolved symbol: close
> Setting up the GPG keyring
>
> And then it hangs at that point.
> Any advice on how to run lxc-create through a SOCKS proxy ?
Are you able to get gpg to work with tsocks? This thread
<http://lists.gnupg.org/pipermail/gnupg-users/2002-April/012692.html> (and the
reply <http://lists.gnupg.org/pipermail/gnupg-users/2002-April/012695.html>)
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.
--
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150311/004f840c/attachment.html>
More information about the lxc-users
mailing list