Dear Peter:

Although it has not been settled down on torrc.d will be implemented in
Debian tor package, if it is the way as Jigsaw52's pull request[0], then
there will be a potential problem:

1. According to Jigsaw52's pull request, %include /etc/torrc.d will be
added to /usr/share/tor/tor-service-defaults-torrc
2. torrc files generated by users/applications go to /etc/torrc.d

Then if the user used an application to generate a torrc file with a
proxy config, let's say. And after a while, the proxy setting is no
longer needed/valid, there is no obvious way to find previous settings.
As a normal user, he/she may examine /etc/tor/torrc, but there will be
no proxy settings, which may cause a confusing and frustrating debugging
process.

Therefore, Patrick proposed the following solution[1]:

>     At the very top (?) of /etc/tor/torrc as per Debian's default should 
> explain the .d folder set up by Debian 
> (/usr/share/tor/tor-service-defaults-torrc).
> 
>     /etc/tor/torrc as per Debian's default should discourage users 
> modification of /etc/tor/torrc?
> 
>     And advice users to use /etc/torrc.d (or whatever folder(s) Debian will 
> set up) since that won't throw dpkg interactive conflict resolution dialogs 
> when /etc/tor/torrc gets modified by Debian?

Do you think it will be a good solution? I am looking forward to a
further discussion since it is a really important feature for Debian and
its derivatives.

Thank you very much!

Best,
iry

[0]: https://github.com/Jigsaw52/debian-tor/tree/add-torrc.d
[1]: http://phabricator.kkkkkkkkkk63ava6.onion/T699

Reply via email to