[debian-mysql] Bug#790249: [Re:] mysql-server: Upgrade 5.5 to 5.6 fails
C. Dominik Bódi
dominik.bodi at gmx.de
Mon Jun 29 16:40:01 UTC 2015
Indeed, after installing systemd on that machine and booting with
init=/bin/systemd the upgrade was successful.
The error does seem to get triggerred by /etc/init.d/mysql
when starting manually, the script complains somewhat cryptically about not
finding the HOME dir and setting HOME=/
The daemon does start, though but I guess apt sees it as an error and thinks
mysql was not started successfully.
When using systemd, the init script is not used and mysql_safe is started
directly using the provided systemd service file
/lib/systemd/system/mysql.service
It seems the upgrade path doesn't work when there is the old sysvrc init
installed, so mysql-server-5.6 should either explicitly depend on systemd or
the init script needs to be modified.
Regards,
Dominik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20150629/4959a2ff/attachment.sig>
More information about the pkg-mysql-maint
mailing list