Always go for
.d whenever possible. We recommend this at
https://www.whonix.org/wiki/Whonix_Configuration_Files but I think a
more general advice on configuration files editing would be useful as
well in the wiki. @torjunkie
Otherwise users get an dpkg interactive conflict resolution dialog.
Which will confuse them even more. They might:
- select “overwrite” and loose their settings or,
- select nothing and keep the update stalled.
- select “not overwrite” and miss recommended changes by upstream
(Debian or Whonix)
The fewest of them will be able to merge upstream changes with their
/etc/torrc.d/bridges.torrc the file name part
is not ideal.
Good that you are using an extension
.torrc. Using no extension (if
that would even work) is not so great. Harder to parse. Easier to
*.torrc rather than parsing
* and then skipping files
~ (graphical editor backup files) and files ending
I think adding a
number_ prefix would be better. Such as
There are a few
.d folders and it’s not well standardized. But I would
50_ for users.
10_ for Debian,
20_ for torproject,
for Whonix and so forth. Somehow a useful stackable order. An ordering
where the more upstream something is (Linux (most upstream) -> Debian
(distribution) -> Ubuntu (derivative of Debian, further downstream than
Debian)). Could you please look at existing
.d folders of any other
projects tell me what you think? Perhaps discuss this with Tor Project.