[debian-mysql] Bug#853008: Bug#853008: Bug#853008: mysql-server-5.7: purge could delete mariadb-server files with inadequate warning
Lars Tangvald
lars.tangvald at oracle.com
Tue Jan 31 20:58:29 UTC 2017
----- jdg at debian.org wrote:
> On Mon, Jan 30, 2017 at 06:38:16PM +0000, Robie Basak wrote:
> > > So how about this, just a sketch at the moment rather than a full
> > > patch?
> >
> > Your sketch seems good to me, assuming that "dpkg-query --search"
> is
> > permitted from maintainer scripts (I know there are some
> re-entrancy
> > problems with some particular types of dpkg-related invocations?)
> > [...]
> >
> > I wondered this too. But without thinking it through in more
> detail,
> > it'd certainly be better than what we have now.
>
> Please find attached a patch against the current
> mysql-5.7/debian/master branch on alioth. I have also updated the
> github branch for mariadb-10.1 to address the same issue (the one
> with
> a pull request to otto/mariadb-10.1).
>
> It's been tested for upgrades, clean install, remove and purge.
>
> Best wishes,
>
> Julian
Thanks!
I'll look it over and test a little myself.
--
Lars
More information about the pkg-mysql-maint
mailing list