#1103983 obsolete conffile not removed: /etc/mysql/mariadb.conf.d/50-mysql-clients.cnf

Package:
mariadb-client
Source:
mariadb-client
Description:
MariaDB database client binaries
Submitter:
Sébastien Villemot
Date:
2025-05-04 22:03:01 UTC
Severity:
normal
#1103983#5
Date:
2025-04-23 13:21:44 UTC
From:
To:
Dear Maintainer,

In version 1:11.4.2-1, the conffile
/etc/mysql/mariadb.conf.d/50-mysql-clients.cnf was dropped from mariadb-client.

However, the obsolete conffile is not properly cleant up during the upgrade
(e.g. from bookworm to trixie):

$ adequate mariadb-client
mariadb-client: obsolete-conffile /etc/mysql/mariadb.conf.d/50-mysql-clients.cnf
$ dpkg-query -W -f='${Conffiles}\n' mariadb-client | grep obsolete$
 /etc/mysql/mariadb.conf.d/50-mysql-clients.cnf 2e0e48974b270cb20c2b66aa71f6cd92 obsolete

Please use the dpkg-maintscript-helper support provided by
dh_installdeb to remove this obsolete conffile on upgrade.

https://www.debian.org/doc/debian-policy/ch-files.html#s-config-files
https://manpages.debian.org/man/1/dh_installdeb

Thanks for your work,

#1103983#10
Date:
2025-04-23 14:24:54 UTC
From:
To:
Thanks Sebastien for reporting!

For anyone else reading this, contributions are welcome!

https://salsa.debian.org/mariadb-team/mariadb-server/-/wikis/Contributing-to-MariaDB-packaging-in-Debian

#1103983#15
Date:
2025-05-04 21:59:44 UTC
From:
To:
Hoping to see a contribution stem out of
https://www.reddit.com/r/debian/comments/1kd6r3w/what_do_users_of_mariadb_in_debian_want_to_see_in/
where removing old conffiles was requested