Dear Peter,

Since it has been a while since the last discussion, I am wondering if
there is any progress on how we are going to support the torrc.d feature.

I am asking this because we would like to adopt the torrc.d feature in
Whonix 14 which is coming soon; however, as the downstream, we are too
afraid to make the decision on our own which may cause conflicts with
the upstream configuration later.

I am quoting the Whonix specific concern [0] here for your information:

> Will `%include /etc/torrc.d/` go into 
> `/usr/share/tor/tor-service-defaults-torrc` or `/etc/tor/torrc`? This is 
> unanswered.
> 
> If we modify Whonix's 
> [/etc/tor/torrc](https://github.com/Whonix/anon-gw-anonymizer-config/blob/master/etc/tor/torrc.anondist),
>  users who upgrade will get an [interactive dpkg conflict resolution 
> dialog](https://www.whonix.org/wiki/Whonix_Configuration_Files#dpkg_interactive_conflict_resolution_dialog)
>  and will be confused, bridges users most likely breaking their connectivity 
> if they install the new config file.
> 
> Since [` Upgrading Whonix 13 to Whonix 
> 14`](https://www.whonix.org/wiki/Upgrading_Whonix_13_to_Whonix_14) recommend 
> [`apt-get-noninteractive`](https://github.com/Whonix/usability-misc/blob/master/usr/bin/apt-get-noninteractive)
>  `dist-upgrade`, the new `/etc/tor/torrc` by Whonix would overwrite bridges 
> or otherwise user modified `/etc/tor/torrc`.
> 
> That is why 
> [/etc/tor/torrc](https://github.com/Whonix/anon-gw-anonymizer-config/blob/master/etc/tor/torrc.anondist)
>  hasn't been modified in years.
> 
> Should upstream decide to go with `/usr/share/tor/tor-service-defaults-torrc` 
> we would have to rewind our change and go through all of this again.
> 
> On other other hand if we add `%include /etc/torrc.d/` to 
> `/usr/share/tor/tor-service-defaults-torrc` and upstream later decides to go 
> with `/etc/tor/torrc` we are parsing the config files in a different order, 
> which could also lead to confusion.

Please let me know if there is anything I could help to sort out
supporting the torrc.d feature because I will be more than happy to do so!

Best,
iry


[0]:
https://forums.whonix.org/t/graphical-gui-whonix-setup-wizard-anon-connection-wizard-technical-discussion/650/377

Reply via email to