[debian-mysql] Bug#582955: mysql-server-5.1: Minor grammar infelicity in debian-start script.

C. Scott Ananian cscott at cscott.net
Sun May 23 18:12:56 UTC 2010


Package: mysql-server-5.1
Version: 5.1.46-1
Severity: minor
Tags: patch

The bootup text about "upgrade needing tables" is awkward English and has
bothered me for some time now.  Yes, it's a really minor thing, but it's
bugged me long enough that I've finally put a patch together to fix it.
Attached please find a patch to /etc/mysql/debian-start which makes the boot
message read more smoothly.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mysql-server-5.1 depends on:
ii  adduser                 3.112            add and remove users and groups
ii  debconf [debconf-2.0]   1.5.32           Debian configuration management sy
ii  libc6                   2.10.2-9         Embedded GNU C Library: Shared lib
ii  libdbi-perl             1.611-1          Perl Database Interface (DBI)
ii  libgcc1                 1:4.4.4-2        GCC support library
ii  libmysqlclient16        5.1.46-1         MySQL database client library
ii  libstdc++6              4.4.4-2          The GNU Standard C++ Library v3
ii  lsb-base                3.2-23.1         Linux Standard Base 3.2 init scrip
ii  mysql-client-5.1        5.1.46-1         MySQL database client binaries
ii  mysql-common            5.1.46-1         MySQL database common files, e.g. 
ii  mysql-server-core-5.1   5.1.46-1         MySQL database server binaries
ii  passwd                  1:4.1.4.2-1      change and administer password and
ii  perl                    5.10.1-12        Larry Wall's Practical Extraction 
ii  psmisc                  22.11-1          utilities that use the proc file s
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages mysql-server-5.1 recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii  libhtml-template-p 2.9-1                 HTML::Template : A module for usin
ii  mailx              1:20081101-2          Transitional package for mailx ren

Versions of packages mysql-server-5.1 suggests:
pn  tinyca                        <none>     (no description available)

-- Configuration Files:
/etc/mysql/debian-start changed:
source /usr/share/mysql/debian-start.inc.sh
MYSQL="/usr/bin/mysql --defaults-file=/etc/mysql/debian.cnf"
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
MYUPGRADE="/usr/bin/mysql_upgrade --defaults-extra-file=/etc/mysql/debian.cnf"
MYCHECK="/usr/bin/mysqlcheck --defaults-file=/etc/mysql/debian.cnf"
MYCHECK_SUBJECT="WARNING: mysqlcheck has found corrupt tables"
MYCHECK_PARAMS="--all-databases --fast --silent"
MYCHECK_RCPT="root"
echo "Checking for tables which need an upgrade, are corrupt or were "
echo "not closed cleanly."
(
  upgrade_system_tables_if_necessary;
  check_root_accounts;
  check_for_crashed_tables;
) >&2 &
exit 0


-- debconf information:
  mysql-server-5.1/postrm_remove_databases: false
  mysql-server-5.1/really_downgrade: false
  mysql-server/error_setting_password:
  mysql-server-5.1/start_on_boot: true
  mysql-server-5.1/nis_warning:
  mysql-server/password_mismatch:
  mysql-server/no_upgrade_when_using_ndb:
-------------- next part --------------
--- /etc/mysql/debian-start.orig	2010-05-23 14:02:33.000000000 -0400
+++ /etc/mysql/debian-start	2010-05-23 14:07:33.000000000 -0400
@@ -21,7 +21,8 @@
 # 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 corrupt, not cleanly closed and upgrade needing tables."
+echo "Checking for tables which need an upgrade, are corrupt or were "
+echo "not closed cleanly."
 (
   upgrade_system_tables_if_necessary;
   check_root_accounts;


More information about the pkg-mysql-maint mailing list