This spams my dmesg with audit failure attempts at reading the speed of each interface. You can see from the original post that the interfaces are lo and enp0s31f6. It appears to query for speed about every 2 minutes. I have approximately 550 entries in about 2 hours.
Teams as a snap in Ubuntu 20.04 is causing large numbers of apparmor DENIED log messages
The most recent version of the "teams" snap for Ubuntu 20.04 (version 1.4.00.26453) causes constant apparmor messages about attempts to access paths under /sys/ are being DENIED for read access. It looks like Teams is trying to probe for the speed of all the network interfaces based on the paths it is attempting to read.
Is there any way the proper apparmor setup could be part of the "teams" snap or this attempt to read the network interface speed through /sys can be stopped? This is filling up my log files and prevents me from looking up valid log messages of interest.
Here are some example log messages:
[96056.449465] audit: type=1400 audit(1643818317.100:70528): apparmor="DENIED" operation="open" profile="snap.teams.teams" name="/sys/devices/pci0000:00/0000:00:1f.6/net/enp0s31f6/speed" pid=8986 comm="teams" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[96056.449480] audit: type=1400 audit(1643818317.100:70529): apparmor="DENIED" operation="open" profile="snap.teams.teams" name="/sys/devices/virtual/net/lo/speed" pid=8986 comm="teams" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0