[HOME] [DOWNLOAD] [DOCS] [BLOG] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

Apparmor 5 denied messages profile=sdwdate


#1

Qubes 3.2 stable
Whonix 13 stable

Just installed Apparmor profiles for whonix-gw and whonix-ws as per the whonix documentation. When I installed the apparmor profile sdwdate I recieved the error about the unknown token in /etc/apparmor.d/abstraction/sdwdate. I checked the forum for a solution and found out it was a typo in the profile so I fixed the typo and continued on. Now I am getting these apparmor=Dened messages in /var/log/kern.log at system start up.

anon-whonix

Apr 15 20:47:54 host kernel: [ 5.626078] audit: type=1400 audit(1492289274.112:13): apparmor=“DENIED” operation=“mknod” profile="/usr/bin/sdwdate" name="/usr/lib/python2.7/dist-packages/sdwdate/init.pyc" pid=637 comm=“python” requested_mask=“c” denied_mask=“c” fsuid=107 ouid=107
Apr 15 20:47:54 host kernel: [ 5.628234] audit: type=1400 audit(1492289274.114:14): apparmor=“DENIED” operation=“mknod” profile="/usr/bin/sdwdate" name="/usr/lib/python2.7/dist-packages/sdwdate/remote_times.pyc" pid=637 comm=“python” requested_mask=“c” denied_mask=“c” fsuid=107 ouid=107
Apr 15 20:47:54 host kernel: [ 5.683577] audit: type=1400 audit(1492289274.169:15): apparmor=“DENIED” operation=“mknod” profile="/usr/bin/sdwdate" name="/usr/lib/python2.7/dist-packages/sdwdate/config.pyc" pid=637 comm=“python” requested_mask=“c” denied_mask=“c” fsuid=107 ouid=107
Apr 15 20:47:54 host kernel: [ 5.687164] audit: type=1400 audit(1492289274.173:16): apparmor=“DENIED” operation=“mknod” profile="/usr/bin/sdwdate" name="/usr/lib/python2.7/dist-packages/sdwdate/timesanitycheck.pyc" pid=637 comm=“python” requested_mask=“c” denied_mask=“c” fsuid=107 ouid=107
Apr 15 20:47:54 host kernel: [ 5.687559] audit: type=1400 audit(1492289274.173:17): apparmor=“DENIED” operation=“mknod” profile="/usr/bin/sdwdate" name="/usr/lib/python2.7/dist-packages/sdwdate/proxy_settings.pyc" pid=637 comm=“python” requested_mask=“c” denied_mask=“c” fsuid=107 ouid=107

sys-whonix

Apr 15 20:44:50 host kernel: [ 5.669371] audit: type=1400 audit(1492289090.370:8): apparmor=“DENIED” operation=“mknod” profile="/usr/bin/sdwdate" name="/usr/lib/python2.7/dist-packages/sdwdate/init.pyc" pid=973 comm=“python” requested_mask=“c” denied_mask=“c” fsuid=107 ouid=107
Apr 15 20:44:50 host kernel: [ 5.670351] audit: type=1400 audit(1492289090.371:9): apparmor=“DENIED” operation=“mknod” profile="/usr/bin/sdwdate" name="/usr/lib/python2.7/dist-packages/sdwdate/remote_times.pyc" pid=973 comm=“python” requested_mask=“c” denied_mask=“c” fsuid=107 ouid=107
Apr 15 20:44:50 host kernel: [ 5.746480] audit: type=1400 audit(1492289090.447:10): apparmor=“DENIED” operation=“mknod” profile="/usr/bin/sdwdate" name="/usr/lib/python2.7/dist-packages/sdwdate/config.pyc" pid=973 comm=“python” requested_mask=“c” denied_mask=“c” fsuid=107 ouid=107
Apr 15 20:44:50 host kernel: [ 5.747998] audit: type=1400 audit(1492289090.448:11): apparmor=“DENIED” operation=“mknod” profile="/usr/bin/sdwdate" name="/usr/lib/python2.7/dist-packages/sdwdate/timesanitycheck.pyc" pid=973 comm=“python” requested_mask=“c” denied_mask=“c” fsuid=107 ouid=107
Apr 15 20:44:50 host kernel: [ 5.763848] audit: type=1400 audit(1492289090.464:12): apparmor=“DENIED” operation=“mknod” profile="/usr/bin/sdwdate" name="/usr/lib/python2.7/dist-packages/sdwdate/proxy_settings.pyc" pid=973 comm=“python” requested_mask=“c” denied_mask=“c” fsuid=107 ouid=107

Thanks in advance


#2

Can be ignored. Will be fixed in Whonix 14.