[MDEV-4957] mysql.server init script output is garbled on Debian Wheezy for the start and stop commands Created: 2013-08-27  Updated: 2015-08-21

Status: Open
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.32
Fix Version/s: 5.5

Type: Bug Priority: Trivial
Reporter: Jean Weisbuch Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: init, script, wheezy
Environment:

Debian Squeeze AMD64



 Description   

Using the generic precompiled version of MariaDB 5.5.32 (.tar.gz) on a Debian Wheezy (that features a fancy colored output for init scripts) and using the provided mysql.server script result on garbled output, here is an example :

root@server:~# /etc/init.d/mysql restart
Shutting down MySQL
[.ok 
Starting MySQL
[ .k
root@server:~# /etc/init.d/mysql start
Starting MySQL
. ok

(where the "ok" char on the first and third garbled line is in green color as well as the "k" on the second one)

The status output is correct as the init script doesnt outputs dots like the start/stop commands :

root@server:~# /etc/init.d/mysql status
[ ok ] MySQL running (8964).


Here is the output on a Debian Wheezy using the .deb packaged version of MariaDB 5.5.32 :

root@server:~# /etc/init.d/mysql restart
[ ok ] Stopping MariaDB database server: mysqld.
[ ok ] Starting MariaDB database server: mysqld . . . ..
[info] Checking for corrupt, not cleanly closed and upgrade needing tables..

ps: the same seems to happen with MySQL5.6 mysql.server init script.


Generated at Thu Feb 08 07:00:33 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.