[Bug 1326428] Re: clash of upstart and sysvinit scripts

Laurent Declercq 1326428 at bugs.launchpad.net
Fri Mar 4 08:07:14 UTC 2016


*** This bug is a duplicate of bug 1273462 ***
    https://bugs.launchpad.net/bugs/1273462

To be more clear:

Both mysql-server-5.5 and mysql-server-5.6 packages (e.g. under Trusty
Thar) provide a sysvinit script and an upstart job for mysql. The
problem here is that the maintainer has a very strange approach:

1. The sysvinit script links are symply removed in the postinstall script using update-rc.d
2.The sysvinit script doesn't respects Debian policy section 9.11.1 which states that the sysvinit scripts should abort when an upstart job is provided (As I know, Ubuntu has choosen to follow Debian policy regarding cooexistence of upstart jobs and sysvinit scripts)

So yes, this situation can lead to several problems.

Anybody that run the mysql sysvinit script directly (/etc/init.d/mysql)
instead of using service mysql <action> will have problems.

Also, if the upstart job is present, and if the sysvninit script is
enabled (sysvinit script links created), the mysql socket will be
missing on reboot.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1326428

Title:
  clash of upstart and sysvinit scripts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1326428/+subscriptions



More information about the Ubuntu-server-bugs mailing list