I believe the solution would be for the 5.1 packaging to not remove (or re-add) this file if /etc/apparmor.d/usr.sbin.mysqld exists.
I believe the solution would be for the 5.1 packaging to not remove (or re-add) this file if /etc/apparmor. d/usr.sbin. mysqld exists.