[debian-mysql] Bug#985870: Bug#985870: mariadb-server-10.5: unowned files after purge (policy 6.8, 10.8): /usr/share/mysql/debian-10.5.flag
Faustin Lammler
faustin at fala.red
Fri Apr 30 15:44:32 BST 2021
Hi Andreas!
Thanks for your report and I can confirm this with the latest 10.5
version (debian and upstream).
| podman run -it debian:sid bash -c "apt-get update &&\
| apt-get install -y mariadb-server &&\
| ls /usr/share/mysql/debian-*.flag &&\
| apt-get autopurge -y --force mariadb-server"
@Otto, I have verified on 10.3 and my understanding is that there might be a
confusion between datadir and statedir.
For 10.3 we did not create the flag in the statedir whereas upstream
did:
https://salsa.debian.org/mariadb-team/mariadb-10.3/-/blob/buster/debian/mariadb-server-10.3.postinst#L96-114
https://github.com/MariaDB/server/blob/10.3/debian/mariadb-server-10.3.postinst#L135-L156
I am not sure if this statedir flag (/usr/share/mysql/debian-*.flag) is
used by any maintainer script, let me know if you want me to open a jira
issue and a PR upstream (I guess we should fix this upstream).
Faustin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20210430/d5551c97/attachment.sig>
More information about the pkg-mysql-maint
mailing list