Opened 2 years ago

Last modified 2 years ago

#24492 new enhancement

Set default /path/ to/ torrc

Reported by: 0brand Owned by:
Priority: Medium Milestone:
Component: Applications Version:
Severity: Normal Keywords: tor defaults
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Would there be any interest in setting a default path to torrc ( i.e. /usr/share/tor/tor-service-defaults-torrc, /etc/tor/torrc, /etc/tor.d ) I think this would cause less confusion ( simplicity ). Also other projects/devs try to mirror Tor defaults, and for good reason ( obvious why ). This would lead to better continuity.

I understand its not as simple as "This /path/to/torrc is now the default" but I think its something that should be on the road map for the future.

Thanks for your time!

Child Tickets

Change History (3)

comment:1 Changed 2 years ago by Sebastian

There already is a default path, it is $sysconfdir/tor/torrc. $sysconfdir is set during configure and defaults to /etc

comment:2 Changed 2 years ago by adrelanos

Could you define a default path for /etc/tor.d please?

I.e. could /usr/share/tor/tor-service-defaults-torrc reference /etc/tor.d? I guess that is...

add torrc.d configuration directory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866187

comment:3 in reply to:  1 Changed 2 years ago by 0brand

Replying to Sebastian:

There already is a default path, it is $sysconfdir/tor/torrc. $sysconfdir is set during configure and defaults to /etc

Thanks for clarifying! I was leaning more towards one path is the default: meaning not /etc (but /etc/path/to/torric is the default path). I see now this would be an absolute mess and would lead to less flexibility.

Thanks for your time and all the hard work!

Note: See TracTickets for help on using tickets.