Bug#910017: Apparmor profile whitelist /etc/torrc.d/ and /usr/local/etc/torrc.d/

2018-10-21 Thread intrigeri
Hi Patrick! Patrick Schleizer: > Any chance to get any entry by default pointing to something in > /usr/local such as > /usr/local/etc/tor/** r, > or so? I'm not a fan of hard coding and carrying support for such special cases in src:tor. I'd rather see the generic mechanism for extending the

Bug#910017: Apparmor profile whitelist /etc/torrc.d/ and /usr/local/etc/torrc.d/

2018-10-01 Thread Patrick Schleizer
Any chance to get any entry by default pointing to something in /usr/local such as /usr/local/etc/tor/** r, or so? That would be very useful for Qubes, and Qubes-Whonix (since /usr/local is persistent by default in TemplateBased AppVMs while /etc is not). Even if Debian wouldn't parse any Tor

Bug#910017: Apparmor profile whitelist /etc/torrc.d/ and /usr/local/etc/torrc.d/

2018-10-01 Thread Peter Palfrader
On Mon, 01 Oct 2018, Patrick Schleizer wrote: > > Is tor using these directories by default? > > Not yet. > > > > > If so, that should be fixed. If not, then these aren't the right > > directories for .d things anyhow. > > Which ones are? I'd think something under /etc/tor/, like

Bug#910017: Apparmor profile whitelist /etc/torrc.d/ and /usr/local/etc/torrc.d/

2018-10-01 Thread Patrick Schleizer
Peter Palfrader: > On Mon, 01 Oct 2018, Patrick Schleizer wrote: > >> Package: tor >> Severity: normal >> X-Debbugs-CC: whonix-de...@whonix.org >> >>> [warn] Could not open "/etc/torrc.d/40_tor_control_panel.conf": >> Permission denied >> >> Please allow in apparmor profile by default: >> >>

Bug#910017: Apparmor profile whitelist /etc/torrc.d/ and /usr/local/etc/torrc.d/

2018-10-01 Thread Peter Palfrader
On Mon, 01 Oct 2018, Patrick Schleizer wrote: > Package: tor > Severity: normal > X-Debbugs-CC: whonix-de...@whonix.org > > > [warn] Could not open "/etc/torrc.d/40_tor_control_panel.conf": > Permission denied > > Please allow in apparmor profile by default: > > /etc/torrc.d/ r, >

Bug#910017: Apparmor profile whitelist /etc/torrc.d/ and /usr/local/etc/torrc.d/

2018-10-01 Thread Patrick Schleizer
Package: tor Severity: normal X-Debbugs-CC: whonix-de...@whonix.org > [warn] Could not open "/etc/torrc.d/40_tor_control_panel.conf": Permission denied Please allow in apparmor profile by default: /etc/torrc.d/ r, /usr/local/etc/torrc.d/ r,