Package: privoxy
Version: 3.0.32-1
Severity: normal

Dear Maintainer,

The autopkgtest for privoxy is failing to run on Ubuntu because the
apparmor profile is enabled and the test passes a pidfile and config
file to privoxy.

  /usr/sbin/privoxy --pidfile $PIDFILE $CONFIG

This fails because apparmor denies access to $PIDFILE and $CONFIG.

autopkgtest [20:14:35]: test privoxy-regression-test: [-----------------------
Starting privoxy on port 8119
2021-01-17 20:14:35.385 7fb3e30f4200 Fatal error: can't open pid file 
'/tmp/autopkgtest.TAxSNW/autopkgtest_tmp/privoxy.pid': Permission denied

Furthermore this means that one can't use the --pidfile argument or a
config file other than one in /etc/privoxy because of the apparmor
profile.

While I'll work around this in Ubuntu by disabling the apparmor profile
for the test I don't think that's the best solution.

Reply via email to