Note also that the lines of code in question are a little different in
the Precise version of the package:
if [ -f /usr/bin/mysqld_safe -a -f /etc/init.d/mysql ] ; then
/etc/init.d/mysql status > /dev/null
if [ $? = 0 ]; then
I don't have a Precise system on which I can do any testing, but I'm
pretty sure this new logic will not work as expected in Ubuntu, since
the "/etc/init.d/mysql status" call will be translated by the 'upstart-
job' compatibility script to run "status mysql" -- but that command
doesn't set the exit status in the way that the old init.d/mysql script
does.
(At least "status mysql" doesn't set the exit status in Lucid, and I
haven't yet found any sign that this has changed in Precise...)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/925162
Title:
sitebar postinst script doesn't work with Upstartified mysql-server
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sitebar/+bug/925162/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs