Public bug reported: I'm using strongswan-systemd (charon-systemd package), and each time the daemon start, there is log in the journal telling that apparmor prevent the daemon to properly notify systemd.
Apr 20 11:43:09 vpn-2 audit[5970]: AVC apparmor="ALLOWED" operation="sendmsg" profile="/usr/sbin/charon-systemd" name="/run/systemd/notify" pid=5970 comm="charon-systemd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0 Apr 20 11:43:09 vpn-2 audit[5970]: AVC apparmor="ALLOWED" operation="sendmsg" profile="/usr/sbin/charon-systemd" name="/run/systemd/notify" pid=5970 comm="charon-systemd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0 Apr 20 11:43:09 vpn-2 audit[5970]: AVC apparmor="ALLOWED" operation="sendmsg" profile="/usr/sbin/charon-systemd" name="/run/systemd/notify" pid=5970 comm="charon-systemd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0 Apr 20 11:43:09 vpn-2 kernel: audit: type=1400 audit(1524217389.848:26): apparmor="ALLOWED" operation="sendmsg" profile="/usr/sbin/charon-systemd" name="/run/systemd/notify" pid=5970 comm="charon-systemd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0 Apr 20 11:43:09 vpn-2 kernel: audit: type=1400 audit(1524217389.848:25): apparmor="ALLOWED" operation="sendmsg" profile="/usr/sbin/charon-systemd" name="/run/systemd/notify" pid=5970 comm="charon-systemd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0 Apr 20 11:43:09 vpn-2 kernel: audit: type=1400 audit(1524217389.840:24): apparmor="ALLOWED" operation="sendmsg" profile="/usr/sbin/charon-systemd" name="/run/systemd/notify" pid=5970 comm="charon-systemd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0 Apr 20 11:43:09 vpn-2 systemd[1]: Starting strongSwan IPsec IKEv1/IKEv2 daemon using swanctl... Would it be possible to add a "run/systemd/notify, w" entry in the default usr.sbin.charon-systemd profile ? ** Affects: strongswan (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1765652 Title: app armor profile for systemd daemon missing entry for /run/systemd/notify To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1765652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs