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

Julian Gilbey jdg at debian.org
Mon Jan 30 08:59:21 UTC 2017


On Mon, Jan 30, 2017 at 09:24:46AM +0100, Lars Tangvald wrote:
> 
> The problem with the old code was that at the point it was run,
> usr/sbin/mysqld  _always_ existed, so it was just a big chunk of dead code.
> The code was just copied from the old packages that had a different
> structure. I think the code would need to be in the maintainer script for
> the package that has the server binary, so that it would run correctly after
> the package's own binary is removed, but that's -server-core, which doesn't
> run any postrm (we could add it, but part of the point of the core packages
> is that they don't run anything).

Oh, I didn't realise that there was this split between -server and
-server-core.

> Anyone else have any good ideas on how to handle this?

Yes, but I don't have time to write it now - will have a go later in
the day.

   Julian



More information about the pkg-mysql-maint mailing list