Bug#790249: [Re:] mysql-server: Upgrade 5.5 to 5.6 fails

2015-06-29 Thread C . Dominik Bódi
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

signature.asc
Description: This is a digitally signed message part.


Bug#790249: [Re:] mysql-server: Upgrade 5.5 to 5.6 fails

2015-06-29 Thread C . Dominik Bódi
I've got the same problem. One one machine, the upgrade was successful, on the 
other it failed. The machine failing the upgrade, old sysvinit was still the 
installed init system. On the machine that did the upgrade successfully, 
systemd is the installed init system.

Regards,
Dominik

signature.asc
Description: This is a digitally signed message part.