On 11/28/26 05:16, Otto Kekäläinen wrote:
Control: retitle -1 mariadb: Old /etc/apparmor.d/usr.bin.mariadbd not
removed on upgrade
It seems the issue here is that when upgrading from Debian Trixie to
Forky/unstable, the AppArmor upgrade errors on old file /etc/apparmor.d/
usr.bin.mariadbd, which in turn wasn't correctly removed and replaced
by /etc/apparmor.d/mariadbd?
I never "upgraded" as I run unstable+experimental for quite some time
since original testing iso install on my affected systems.
The original bug report and title are a bit sloppy:
It reflects exactly what triggered the bug report to apparmor.
> Subject: apparmor: Error message on installation
>
> Reloading AppArmor profiles
> Could not replace profile /var/cache/apparmor/48da56f3.0/
usr.sbin.mariadbd : Argument invalide
Next time you report an issue, please provide proper context on what you
were doing and preferably steps to reproduce. Polished bug reports have
a higher chance of being fixed quickly.
Once you know what the bug really is as it is almost solved since
apparmor maintainer did the debug, yes you can write a good title. A the
beginning the error message was seen when installing apparmor.
Then, both the apparmor maintainer and me spend time debugging a bug
that really was in mariadb-server package that left configuration file
and worst, the "file" was still appearing in dpkg -S file and dpkg -L |
grep file.
We then also discovered that the leftover is systematic on all machines
I have that use mariadb-server.
Clean up your config file upon migration and you will not receive such
bug report.
--
Eric Valette