Package: mysql-server-5.5 Version: 5.5.35+dfsg-1 Severity: normal Tags: patch
When starting the mysql daemon from the init script, I see $ service mysql start [ ok ] Starting MySQL database server: mysqld; . [info] Checking for tables which need an upgrade, are corrupt or were not closed cleanly.. The [info] line is broken up because it is generated by two distinct echos in debian-start. The untagged output looks ugly. It is also disconcerting on boot when the messages are flying past and you don't have time to read them. The untagged line stands out and all you see is "not closed cleanly" which leads you to ask "what was not closed cleanly?". I've attached a patch that just puts it into a single echo. Kevin -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (600, 'unstable'), (500, 'testing'), (400, 'stable'), (300, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13.0.00 (SMP w/4 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mysql-server-5.5 depends on: ii adduser 3.113+nmu3 ii debconf [debconf-2.0] 1.5.52 ii initscripts 2.88dsf-45 ii libc6 2.17-97 ii libdbi-perl 1.630-1 ii libgcc1 1:4.8.2-14 ii libstdc++6 4.8.2-14 ii lsb-base 4.1+Debian12 ii mysql-client-5.5 5.5.35+dfsg-1 ii mysql-common 5.5.35+dfsg-1 ii mysql-server-core-5.5 5.5.35+dfsg-1 ii passwd 1:4.1.5.1-1 ii perl 5.18.2-2 ii psmisc 22.20-1 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages mysql-server-5.5 recommends: pn libhtml-template-perl <none> pn mailx <none> Versions of packages mysql-server-5.5 suggests: pn tinyca <none> -- debconf information: mysql-server/password_mismatch: mysql-server-5.5/really_downgrade: false mysql-server/error_setting_password: mysql-server-5.5/nis_warning: mysql-server-5.5/start_on_boot: true mysql-server-5.5/postrm_remove_databases: false mysql-server/no_upgrade_when_using_ndb:
--- a/debian/additions/debian-start +++ b/debian/additions/debian-start @@ -21,8 +21,7 @@ # If you want to disable the check for crashed tables comment # "check_for_crashed_tables" out. # (There may be no output to stdout inside the background process!) -echo "Checking for tables which need an upgrade, are corrupt or were " -echo "not closed cleanly." +echo "Checking for tables which need an upgrade, are corrupt or were not closed cleanly" ( upgrade_system_tables_if_necessary; check_root_accounts;

