[pkg-apparmor] Bug#1155112: Bug#1155112: apparmor: Error message on installation

intrigeri intrigeri at debian.org
Thu Nov 26 13:43:21 GMT 2026


Hi,

Eric Valette (2026-11-26):
>> It seems it's not shipped by mariadb-server anymore which instead
>> nowadays installs /etc/apparmor.d/mariadb.
>
> I beg to disagree.

Well, it's not really about agreeing or not.

I should have made it clear that I had installed mariadb-server in
a sid VM, and that's where my observations came from.
I just tested it *again* in a clean sid chroot, same results.

> dpkg -S /etc/apparmor.d/usr.sbin.mariadbd
> mariadb-server: /etc/apparmor.d/usr.sbin.mariadbd

IIRC an obsolete conffile would produce the exact same output, so that
might still be consistent with my hypothesis.

I'd love to see the output of:

    dpkg -s mariadbd-server

I suspect you'll see an indication that this file is obsolete?

>> Please try to move /etc/apparmor.d/usr.sbin.mariadbd out of the way to
>> a different director and restart apparmor?
>
> Not a real solution as it will be reinstalled.

Did you actually test that?

If not, then please try to move /etc/apparmor.d/usr.sbin.mariadbd out of
the way, `apt --reinstall install mariadb`, and see if it is reinstalled?

Finally, one general comment: I feel my work is slightly disrespected
here. The onus to demonstrate a bug exists is on you; even more so
when the maintainer (yours truly) has already spend time trying to
reproduce, and failed. So, if you still firmly believe your hypothesis
is correct and mine is wrong, by all means, please provide a minimal
reproducer, that includes how I end up with
a /etc/apparmor.d/usr.sbin.mariadbd file installed, thanks.

Cheers,
-- 
intrigeri



More information about the pkg-apparmor-team mailing list