Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 420381

Summary: net-proxy/tsocks can't be used with ebuild
Product: Portage Development Reporter: hongruiqi
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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!