[tor-bugs] #13037 [Tor]: compile time option to not read config from sysconfdir
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Sep 2 12:46:38 UTC 2014
#13037: compile time option to not read config from sysconfdir
--------------------+------------------------------------
Reporter: weasel | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version: Tor: unspecified
Keywords: | Actual Points:
Parent ID: | Points:
--------------------+------------------------------------
AIUI, right now tor will read /etc/tor/torrc and /etc/tor/torrc-defaults
(or /usr/local/etc/tor/...) when started as any user, if they exist and
aren't overridden on the command line. (Other conditionals may apply.)
I'd like a compile time option that would stop tor reading any global
configuration/defaults files. If no ~/.torrc exists and no configuration
file is passed on the command line it should instead just use its built-in
defaults.
That way, users running tor under their own user won't get interfered with
/etc/tor/torrc settings. The init script can continue to pass
/etc/tor/torrc to the tor binary on the command line.
Cheers,
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13037>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list