[Bug 359177] Re: Strange or obsolete code in mysql initscript

2009-11-25 Thread born2chill
** Changed in: mysql-dfsg-5.0 (Ubuntu) Assignee: (unassigned) = Patch for MySQL team (mysql-patch-team) -- Strange or obsolete code in mysql initscript https://bugs.launchpad.net/bugs/359177 You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 359177] Re: Strange or obsolete code in mysql initscript

2009-11-25 Thread Alexey Sveshnikov
Hi again. The original point of this bug is that initscript have code for killing MySQL but this code is disabled in rather strange way (by putting log_end_msg 1, see the first post). I think this code should be disabled in more obvioius way or removed at all. -- Strange or obsolete code in

[Bug 359177] Re: Strange or obsolete code in mysql initscript

2009-11-17 Thread born2chill
Hi Alexey, true, killing all mysqld-procs isn't the best choice, however i tried to stick to the original initscript which also killed the processes after some time. Its no problem to change this behaviour if wanted, only the 'kill -9' and 'log_msg' lines have to be altered. Who is up to

[Bug 359177] Re: Strange or obsolete code in mysql initscript

2009-11-16 Thread born2chill
Patch for the mysql init script attached. Reworked the 'stop'-section some more, removed unused / old variables etc... br, David ** Attachment added: Patch for the mysql-server-5.0 init script. http://launchpadlibrarian.net/35750472/mysql.patch -- Strange or obsolete code in mysql

[Bug 359177] Re: Strange or obsolete code in mysql initscript

2009-11-16 Thread Alexey Sveshnikov
Hi, David. I think it's a bad idea to kill MySQL with -9 signal. It's o.k. for MySQL instances with big key_buffer_size to stop within several minutes. IMHO, it's better just to print that MySQL can't be stopped ant let user to decide what to do with it. -- Strange or obsolete code in mysql

[Bug 359177] Re: Strange or obsolete code in mysql initscript

2009-10-14 Thread Chuck Short
If you can submit this as a patch that would be great. Thanks chuck -- Strange or obsolete code in mysql initscript https://bugs.launchpad.net/bugs/359177 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu. --

[Bug 359177] Re: Strange or obsolete code in mysql initscript

2009-09-24 Thread born2chill
I also have problems with this initscript (mostly with wrong return codes in scripted shutdowns), however i think that the author overlooked an 'else' statement: @142ff: instead of: 142 if [ $r -ne 0 ]; then 143 log_end_msg 1 144 [ $VERBOSE != no ]

[Bug 359177] Re: Strange or obsolete code in mysql initscript

2009-05-01 Thread Andreas Olsson
** Changed in: mysql-dfsg-5.0 (Ubuntu) Importance: Undecided = Low -- Strange or obsolete code in mysql initscript https://bugs.launchpad.net/bugs/359177 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu. --

[Bug 359177] Re: Strange or obsolete code in mysql initscript

2009-04-26 Thread Andreas Olsson
I believe I can confirm this. Unless I'm thinking entirely wrong there is no way that code after log_end_msg 1 will be executed. ** Changed in: mysql-dfsg-5.0 (Ubuntu) Status: New = Confirmed -- Strange or obsolete code in mysql initscript https://bugs.launchpad.net/bugs/359177 You