On Tue, Mar 10, 2015 at 10:37 PM, Julien <[email protected]> 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
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
