From: ng0 <contact.ng0@cryptolab.net>
To: Mekeor Melire <mekeor.melire@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: torsocks works with wget but fails git-clone: "unable to lookup symbols in libc.so.6"
Date: Wed, 5 Apr 2017 22:54:57 +0000 [thread overview]
Message-ID: <20170405225457.c4wnafedo6qnisfk@abyayala> (raw)
In-Reply-To: <87pogq8ojs.fsf@gmail.com>
Mekeor Melire transcribed 1.0K bytes:
>
> Problem
> =======
>
> This works fine:
>
> $ torsocks wget http://github.com/mekeor/config
>
> This fails:
>
> $ torsocks git clone http://github.com/mekeor/config
> 1491426097 ERROR torsocks[25849]: Unable to lookup symbols in libc.so.6((null)) (in init_libc_symbols() at torsocks.c:239)
>
> Torifying browsers like netsurf-gtk, surf, w3m either also fail or don't
> succeed. Using "torify" instead of "torsocks" results in the same.
>
>
> Information
> ===========
>
> My config.scm contains:
>
> (tor-service)
That's not enough for torify (torification? to use torsocks / the SOCKS5
of tor) of applications. As I told you earlier, you need a SOCKSPort,
like so:
(services (cons*
(tor-service
(plain-file "torrc"
"SocksPort 127.0.0.1:9050\n"))))
This can be extended any other values you can find in "man torrc" as
long as you end the lines with "\n".
The (tor-service) is mostly just usable for offering onion services, and
we should document that the default is to leave it up to the person
using the system to
configure more behavior.
> My whole config is available at:
>
> https://github.com/mekeor/config/blob/master/etc/guix/config.scm
>
> The error is printed on this line in the code of torsocks:
>
> https://github.com/dgoulet/torsocks/blob/master/src/lib/torsocks.c#L239
>
> I'm using version 20170405.20 of Guix (on GuixSD).
>
>
> Question
> ========
>
> Why does torsocks work with wget but doesn't work with git-clone? What
> does the error mean? What does it have to do with libc? Is anybody able
> to reproduce this?
>
> --
> mekeor ~ EDD3 DFFA 76F6 11C0 145F 9A99 AC85 BAD8 A2F8 C868
>
next prev parent reply other threads:[~2017-04-05 22:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-05 22:41 torsocks works with wget but fails git-clone: "unable to lookup symbols in libc.so.6" Mekeor Melire
2017-04-05 22:54 ` ng0 [this message]
2017-04-06 21:08 ` Mekeor Melire
2017-04-06 21:54 ` ng0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170405225457.c4wnafedo6qnisfk@abyayala \
--to=contact.ng0@cryptolab.net \
--cc=help-guix@gnu.org \
--cc=mekeor.melire@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.