[Bug 608423] Re: [lucid-proposed] post-start script broken

ideasbuenas 608423 at bugs.launchpad.net
Wed Jul 28 22:31:20 BST 2010


unsuscribe ideasbuenas ideasbuenas at gmail.com

On Wed, Jul 28, 2010 at 3:19 PM, Jürgen Kreileder <jk at blackdown.de>
wrote:

> I agree with a7x.  This is not fixed at all: Neither in lucid-proposed
> (a7x's points 1, 2, and 3) nor in maverick (just point 2, 3 as the new
> maverick package does have a 'sleep 1').
>
> For the record, I did try the lucid-proposed package nevertheless.
> syslog still reports 'mysql post-start process (...) terminated with
> status 1'.
>
> ** Tags added: verification-failed
> ** Tags removed: verification-needed
>
> ** Changed in: mysql-dfsg-5.1 (Ubuntu Lucid)
>       Status: Fix Released => In Progress
>
> ** Changed in: mysql-5.1 (Ubuntu Maverick)
>       Status: Fix Released => In Progress
>
> --
> [lucid-proposed] post-start script broken
> https://bugs.launchpad.net/bugs/608423
> You received this bug notification because you are subscribed to Lucid.
>
> Status in “mysql-5.1” package in Ubuntu: In Progress
> Status in “mysql-dfsg-5.1” package in Ubuntu: Invalid
> Status in “mysql-5.1” source package in Lucid: Invalid
> Status in “mysql-dfsg-5.1” source package in Lucid: In Progress
> Status in “mysql-5.1” source package in Maverick: In Progress
> Status in “mysql-dfsg-5.1” source package in Maverick: Invalid
>
> Bug description:
> 5.1.41-3ubuntu12.4 from lucid-proposed has a broken post-start script.
>
> After starting mysql, /var/log/syslog says:
> init: mysql post-start process (11493) terminated with status 1
>
> Looking at the post-start script shows two problems:
>
> 1)  ret = $?
> Note the spaces before and after the '='.  There should be none!
> As it is now, it tries to run a command called "ret" instead of setting a
> variable.
>
> 2) /usr/bin/mysqladmin --defaults-file=$HOME/debian.cnf ping
> If this returns a non-zero exit status (most likely because mysql isn't
> fully up yet), the post-script exits immediately!
> You need a "set +e" or something else that keeps the post-start script from
> exiting prematurely if the command returns with something != 0.
>
>
>

-- 
[lucid-proposed] post-start script broken
https://bugs.launchpad.net/bugs/608423
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.



More information about the Ubuntu-server-bugs mailing list