Bug 702864

Summary: tsocks(8) man page: replace TSOCKS_CONFFILE with TSOCKS_CONF_FILE
Product: [Fedora] Fedora Reporter: Cristian Ciupitu <cristian.ciupitu>
Component: tsocksAssignee: Jean-Francois Saucier <jsaucier>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jsaucier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tsocks-1.8-0.8.beta5.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 04:30:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cristian Ciupitu 2011-05-07 19:41:25 UTC
Description of problem:
Quoting from the man page for tsocks(8):

       TSOCKS_CONFFILE
              This  environment variable overrides the default location of the
              tsocks configuration file.

Though, I can not use it.

Version-Release number of selected component (if applicable):
tsocks-1.8-0.5.beta5.fc13.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Create $HOME/.tsocks.conf
2. export TSOCKS_CONFFILE=$HOME/.tsocks.conf
3. tsocks koji build --scratch dist-6E-epel SRPMS/satchmo-0.9.1-1.20110418hg3126f1733ad4.fc14.src.rpm 
  
Actual results:
22:11:37 libtsocks(20667): Could not open socks configuration file (/etc/tsocks.conf), assuming all networks local

Expected results:
$HOME/.tsocks.conf should be used

Additional info:
[ciupicri@hermes rpmbuild]$ cat $TSOCKS_CONFFILE 
server = localhost
port = 9080

The man page says that the environment variable won't be used if tsocks is compiled with --disable-envconf, but according to the RPM SPEC this doesn't seem the case.

Comment 1 Michael Schwendt 2011-05-07 19:53:55 UTC
Brief look at the source code tells this is a typo in the manual. Try $TSOCKS_CONF_FILE instead.

Comment 2 Cristian Ciupitu 2011-05-07 20:22:42 UTC
Yes that did the trick. Thank you!

Comment 3 Fedora Update System 2011-05-13 14:54:34 UTC
tsocks-1.8-0.8.beta5.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tsocks-1.8-0.8.beta5.fc15

Comment 4 Fedora Update System 2011-05-13 15:15:00 UTC
tsocks-1.8-0.8.beta5.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/tsocks-1.8-0.8.beta5.fc14

Comment 5 Fedora Update System 2011-05-13 15:30:16 UTC
tsocks-1.8-0.8.beta5.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/tsocks-1.8-0.8.beta5.fc13

Comment 6 Fedora Update System 2011-05-13 23:01:31 UTC
Package tsocks-1.8-0.8.beta5.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tsocks-1.8-0.8.beta5.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/tsocks-1.8-0.8.beta5.fc14
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-05-19 04:30:17 UTC
tsocks-1.8-0.8.beta5.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-05-25 02:33:52 UTC
tsocks-1.8-0.8.beta5.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2011-05-25 03:05:22 UTC
tsocks-1.8-0.8.beta5.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.