Another benefit of the approach above, getting rid of onion-grater-merger means that onion-grater does not need to restart, as no autogenerated files needs to be generated. Instead, onion-grater evaluates the files on the fly without needing to restart. Means that changes on onion-grater-add and onion-grater-remote to restart onion-grater is not necessary anymore.
This is better because the only reason to restart onion-grater is for testing when enabling --debug or --complain mode, less disconnections for workstations that need a profile added on their gateway and onion-grater could ignore the bitcoind ADD_ONION because it was constantly restarted.
Not sure. In theory it could be done but in practice the meaning of anon- isn’t clearly defined. Does it mean any anonymizing Linux distribution so that in theory Tails could re-use it? There doesn’t seem to be any interest in anon- anyhow. Or use anon- for stuff that is generic and whonix- for things that are really only for Whonix with its split-VM design? Or is it for the purpose of being fork friendly?
That package seems very Whonix specific. Not easy for other distributions to benefit form it unless they fork Whonix.
Due to the effort and unclear benefit, I guess it’s not worth renaming.
That package is also a bit imperfect. It has some enhancements that would be useful for Kicksecure too such as the default /etc/torrc.d parsing and some helper scripts such as anon-verify etc. One day it has to be re-organized.
There are four possible directories to be used, slow migration or no migration?
/etc/onion-grater.d
/usr/local/etc/onion-grater.d (never used)
/etc/onion-grater-meger.d (system)
/usr/local/etc/onion-grater-meger.d (users)
Does it make sense to ever migrate to non -merger directory because of problems of moving user configuration?
Should we just use with 3 and 4?
I will need to include the merger on the apparmor configuration, because onion-grater was not reading it, instead it was reading only the /etc/onion-grater.d dir with the 30_autogenerated.yml file.
Can I stop supporting the non-merger dir from the apparmor profile perspective?