Thanks Aquila for running mariadb-test-run with AppArmor enabled!
Related, I am currently investigating
https://bugs.launchpad.net/ubuntu/+source/mariadb/+bug/2143708 and it
likely to submit a MR that adds:
-profile mariadbd /usr/sbin/mariadbd flags=(complain) {
+profile mariadbd /usr/sbin/mariadbd flags=(attach_disconnected,complain) {
to hopefully fix the errors:
apparmor="ALLOWED" operation="sendmsg" class="file" info="Failed name
lookup - disconnected path" error=-13 profile="mariadbd"
name="run/systemd/notify" pid=1739 comm="mariadbd" requested_mask="w"
denied_mask="w" fsuid=985 ouid=0