[Bug 332530] New: MySQL fails to reload after security update error from YOU
https://bugzilla.novell.com/show_bug.cgi?id=332530 Summary: MySQL fails to reload after security update error from YOU Product: openSUSE 10.2 Version: Final Platform: 64bit OS/Version: openSUSE 10.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: mmarek@novell.com ReportedBy: gtsm@gandalfsemporium.homelinux.com QAContact: qa@suse.de Found By: Customer Report Requested by Michal Marek When MySQL security update applied by YOU MySQL fails to reload. Restart with rcmysql restart generates a duplicate column error and MySQL starts. No errors on subsequent restarts. Check suggested by Michal generates no problems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=332530#c3
Michal Marek
mysql has problems with open connections during an update of the binary.
Good point. Graham, was it a loaded mysql server in your case? It could be that the _shutdown_ doesn't wait and then the start finds the old mysqld instance still blocking the sockets.
I think the problem is in the init script around the wait_for_socket() function. Perhaps you can encapsulate the call of mysqld and the wait_for_socket() function in a simple loop (I think two turns of this loop are enough as all problems are gone after a second start).
Hmm, interesting idea, I have to think what would happen if the script manages to start two mysqlds... Hopefully the slower one would just abort.
Or increase the time in wait_for_socket() ? Fedora waits 30 seconds f.e.
10.3 also has 30 seconds. Maybe we should do that in 10.2 as well. I'm still wondering why exactly 10.2 has the problem. It must be something with the mysql_upgrade call in the rc script, because that's eg. the only difference between 10.1 / SLES10 mysql and 10.2 mysql. Thanks for your input Lars ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=332530#c4
Graham Smith
https://bugzilla.novell.com/show_bug.cgi?id=332530#c5
Michal Marek
Lars Rupp> for me it looks like
mysql has problems with open connections during an update of the binary.
Good point. Graham, was it a loaded mysql server in your case? It could be that the _shutdown_ doesn't wait and then the start finds the old mysqld instance still blocking the sockets.
I tried loading the server, but that didn't trigger the bug. And the init script does wait for the shutdown to complete, so the bug might be somewhere else... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=332530
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332530#c6
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=332530
User gtsm@gandalfsemporium.homelinux.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332530#c7
Graham Smith
https://bugzilla.novell.com/show_bug.cgi?id=332530
User lrupp@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332530#c8
Lars Rupp
https://bugzilla.novell.com/show_bug.cgi?id=332530
User lrupp@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332530#c10
--- Comment #10 from Lars Vogdt
https://bugzilla.novell.com/show_bug.cgi?id=332530
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332530#c11
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=332530
User lrupp@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332530#c12
Lars Vogdt
https://bugzilla.novell.com/show_bug.cgi?id=332530
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332530#c13
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=332530
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332530#c15
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=332530
User swamp@suse.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332530#c16
Swamp Script User
participants (1)
-
bugzilla_noreply@novell.com