Gateway AppArmor trouble


After I added AppArmor profiles to Whonix-Gateway (timesync, whonixcheck, sdwdate) and rebooted machine I’ve got this messages every few seconds:

[23637.117523] type=1400 audit(1422484523.061:4898): apparmor="DENIED" operation="open" parent=19413 profile="/usr/bin/timesync" name="/etc/tor/torrc.anondist" pid=19498 comm="te_pe_tb_check" requested_mask="r" denied_mask="r" fsuid=101 ouid=0 [23637.118462] type 1400 audit(1422484523.259:4898): apparmor="DENIED" operation="open" parent=19413 profile="/usr/bin/timesync" name="/usr/share/tor/tor-service-defaults-torrc.anondist" pid=19574 comm="te_pe_tb_check" requested_mask="r" denied_mask="r" fsuid=101 ouid=0

Before install I switched to Whonix Testers repository and after install to Whonix stable. That all I’ve done


Thanks for testing and reporting!

Most likely, you did not update after switching to the testers repository.

Re-run whonix_repository, select Testers Repository, then:

sudo apt-get update
sudo apt-get dist-upgrade

The apparmor-profile-anondist (where both denied files are located) should be upgraded.


Thanks for help. Not it’s working ok

I installed profiles by instructions here:

I used only apt-get update, not dist-upgrade.


So you used apt-get update + apt-get install individual-profiles?


Yes, I did.
But only after dist-upgrade everything is working properly.