Apparmor syslog messages
The /var/log/syslog
ends up with a lot of messages lisk this after a while:
May 21 18:42:14 wsh kernel: [465566.751897] audit: type=1400 audit(1621622533.999:878085): apparmor="DENIED" operation="open" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/905/net/netstat" pid=905 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
May 21 18:42:14 wsh kernel: [465566.752379] audit: type=1400 audit(1621622533.999:878086): apparmor="DENIED" operation="open" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/905/net/snmp" pid=905 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
May 21 18:42:15 wsh kernel: [465567.751981] audit: type=1400 audit(1621622534.999:878087): apparmor="DENIED" operation="open" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/905/net/netstat" pid=905 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
May 21 18:42:15 wsh kernel: [465567.752441] audit: type=1400 audit(1621622534.999:878088): apparmor="DENIED" operation="open" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/905/net/snmp" pid=905 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
May 21 18:42:16 wsh kernel: [465568.751898] audit: type=1400 audit(1621622535.999:878089): apparmor="DENIED" operation="open" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/905/net/netstat" pid=905 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
May 21 18:42:16 wsh kernel: [465568.755019] audit: type=1400 audit(1621622536.003:878090): apparmor="DENIED" operation="open" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/905/net/snmp" pid=905 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
And this fix in this comment appears to solve this.
See also this issue.