Bug#739846: [debian-mysql] Bug#739846: Bug#739846: invoke-rc.d: initscript mysql, action start failed.

2015-07-18 Thread pofman
Hello!

On Sat, 4 Jul 2015 09:19:12 +0300 =?UTF-8?B?T3R0byBLZWvDpGzDpGluZW4=?= 
o...@seravo.fi wrote:
 Hello!
 
 2015-06-30 11:35 GMT+03:00 Bob Proulx b...@proulx.com:
  I had also modified /etc/mysql/debian-start (hey it is a conffile
  after all) to avoid printing this message:
 
echo Checking for tables which need an upgrade, are corrupt or were 
echo not closed cleanly.
 
 This and many similar things have long been fixed in the mariadb
 package init script. Maybe you want to compare the mysql-5.6 init
 script to it and copy over all the changes that you think are good?
 
 https://anonscm.debian.org/gitweb/?p=pkg-mysql/mariadb-10.0.git
 
 

I have the same bug when upgrading to mysql-server-5.6.

When /etc/mysql/debian-start outputs nothing, /etc/init.d/mysql exits with the 
exit code of [ -n $output ].

I have fixed it by replacing:
# Now start mysqlcheck or whatever the admin wants.
output=$(/etc/mysql/debian-start)
[ -n $output ]  log_action_msg $output
With:
# Now start mysqlcheck or whatever the admin wants.
output=$(/etc/mysql/debian-start)
if [ -n $output ] ; then 
log_action_msg $output
fi


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#739846: [debian-mysql] Bug#739846: Bug#739846: invoke-rc.d: initscript mysql, action start failed.

2015-07-04 Thread Otto Kekäläinen
Hello!

2015-06-30 11:35 GMT+03:00 Bob Proulx b...@proulx.com:
 I had also modified /etc/mysql/debian-start (hey it is a conffile
 after all) to avoid printing this message:

   echo Checking for tables which need an upgrade, are corrupt or were 
   echo not closed cleanly.

This and many similar things have long been fixed in the mariadb
package init script. Maybe you want to compare the mysql-5.6 init
script to it and copy over all the changes that you think are good?

https://anonscm.debian.org/gitweb/?p=pkg-mysql/mariadb-10.0.git


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org