[Bug 914370] New: mariadb: rcmysql status shows "Something went wrong" after start or stop when everything was OK
http://bugzilla.opensuse.org/show_bug.cgi?id=914370 Bug ID: 914370 Summary: mariadb: rcmysql status shows "Something went wrong" after start or stop when everything was OK Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: All OS: openSUSE 13.2 Status: NEW Severity: Minor Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: uemmingh@cablenet.de QA Contact: qa-bugs@suse.de Found By: Community User Blocker: --- Created attachment 620581 --> http://bugzilla.opensuse.org/attachment.cgi?id=620581&action=edit optput of rcmysql status ofter a successful rcmysql start and stop The script /usr/lib/mysql/rcmysql fails to call rc_reset to init $_rc_status to 0. Since this status variable is only updated if an error occurs, $_rc_status remains undefined if no error occurs and this will result in "Something went wrong" instead of "Everything is Ok" as status message. Calling rc_reset e.g. in line 103 of the script solved the problem for me. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914370
Per Jessen
Yep, the systemd script should reset the status just before starting.
Fixed in server:database:mariadb.
I've installed a new 13.2 system just recently, including update - I still see the message. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914370
Christos Gourdoupis
http://bugzilla.opensuse.org/show_bug.cgi?id=914370
Richard Bos
http://bugzilla.opensuse.org/show_bug.cgi?id=914370
Tomáš Chvátal
participants (1)
-
bugzilla_noreply@novell.com