Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420381 - net-proxy/tsocks can't be used with ebuild
Summary: net-proxy/tsocks can't be used with ebuild
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-09 10:01 UTC by hongruiqi
Modified: 2012-06-10 02:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hongruiqi 2012-06-09 10:01:40 UTC
when I run "source /usr/bin/tsocks on" to use sshtunnel with ebuild
it export LD_PRELOAD, but it doesn't show in the ebuild process(echo in git2 eclass), only sandbox exists, tsocks missed.
Any solution?

Reproducible: Always
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-06-09 10:17:46 UTC
In the meantime, try this as workaround:
http://forums.gentoo.org/viewtopic-t-52442.html
Comment 2 hongruiqi 2012-06-09 10:45:43 UTC
Thank you! But socksify in dante also uses LD_PRELOAD, so I don't think it can work.
Comment 3 Zac Medico gentoo-dev 2012-06-09 19:31:57 UTC
(In reply to comment #0)
> when I run "source /usr/bin/tsocks on" to use sshtunnel with ebuild
> it export LD_PRELOAD, but it doesn't show in the ebuild process(echo in git2
> eclass), only sandbox exists, tsocks missed.
> Any solution?

Try running that source command in /etc/portage/bashrc.
Comment 4 hongruiqi 2012-06-10 02:01:17 UTC
It works. Thank you!