Bug 702864 - tsocks(8) man page: replace TSOCKS_CONFFILE with TSOCKS_CONF_FILE
Summary: tsocks(8) man page: replace TSOCKS_CONFFILE with TSOCKS_CONF_FILE
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tsocks
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jean-Francois Saucier
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-07 19:41 UTC by Cristian Ciupitu
Modified: 2011-05-25 03:05 UTC (History)
1 user (show)

Fixed In Version: tsocks-1.8-0.8.beta5.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 04:30:28 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.