TL;DR:
- if anything it would be the job of dh_appamor
- for security reasons it is intentionally not unloaded
- conflicting packages (rare edge cases) should NOT fix it by unloading on remove/purge
- conflicting packages (rare edge cases) should fix it by unloading in pre-inst if needed
I understand the back and forth between the packages responsibility here.
In fact I was involved in a similar problem for ntp that was discussed here:
- https:/ /bugs.launchpad .net/ubuntu/ +source/ ntp/+bug/ 1689585/ comments/ 7 /bugs.launchpad .net/ubuntu/ +source/ ntp/+bug/ 1689585/ comments/ 12
- https:/
Bluntly applying the same to this case it would be a change to mariadb that would do something like /bugs.launchpad .net/ubuntu/ +source/ ntp/+bug/ 1689585/ comments/ 13
- https:/
TL;DR:
- if anything it would be the job of dh_appamor
- for security reasons it is intentionally not unloaded
- conflicting packages (rare edge cases) should NOT fix it by unloading on remove/purge
- conflicting packages (rare edge cases) should fix it by unloading in pre-inst if needed