[debian-mysql] Bug#1032047: mariadb-server: Preinst fails if user has mariadb running while system service stopped.

Sune Stolborg Vuorela sune at debian.org
Tue Mar 7 07:12:49 GMT 2023


On Tuesday, March 7, 2023 7:59:04 AM CET Otto Kekäläinen wrote:
> This is still waiting for input from Akonadi maintainers:

I've been thinking trying to come up with some good solutions.

But this does not as such seem to be akonadi specific; it could also happen in 
a case where a system administrator runs a custom mariadb instance managed as 
a different instance than what the mariadb/mysql stop scripts handles.

I do though think that the akonadi instance is more likely.

I think that - in order fix both; basically error out not only if the invoke-
rc.d calls fail, but if there are any running mariadb instances left on the 
system and let the system administrator deal with it.

That will probably cover most issues. Except the one I ran into*
I think it is the best we can do for now.

If I had a infinite wishlist, it would be to let newer mariadb's be able to 
also fix older setups, or a separate tool being able to do that.

/Sune


* I had a desktop system lockup for unknown reasons; rebooted and didn't login 
as me, but rather dropped into a VT and did a upgrade, then rebooted and 
logged in.  I ended up debootstrapping a slightly older chroot with a slightly 
older mariadb, bindmounting the mariadb datadirs into it, launching and 
stopping mariadb inside it. unmounting and removing.
-- 
I didn’t stop pretending when I became an adult, it’s just that when I was a 
kid I was pretending that I fit into the rules and structures of this world. 
And now that I’m an adult, I pretend that those rules and structures exist.
   - zefrank



More information about the pkg-mysql-maint mailing list