[debian-mysql] Bug#853008: Bug#853008: Bug#853008: mysql-server-5.7: purge could delete mariadb-server files with inadequate warning

Robie Basak robie.basak at ubuntu.com
Mon Jan 30 10:00:20 UTC 2017


On Mon, Jan 30, 2017 at 10:45:44AM +0100, Lars Tangvald wrote:
> I think an ok short-term solution is to make a .postrm script for
> mysql-server-core, and move the delete logic there with the check on
> /usr/sbin/mysqld restored, for both MariaDB and MySQL. Then we don't need to
> check on any specific packages, since we'd know any existing mysqld binary
> doesn't belong to the package being purged. If the user has installed a
> MariaDB, the deletion would be handled by mariadb-server-core being purged.

I follow why that would work now, thanks. I don't see any problem with
doing this until we have better handling of /var/lib/mysql between
variants. So +1, unless someone else raises something.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20170130/aee61135/attachment-0001.sig>


More information about the pkg-mysql-maint mailing list