Your message dated Sat, 03 Jun 2006 08:48:16 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#369970: fixed in mysql-dfsg-5.0 5.0.22-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: mysql-server-5.0
Version: 5.0.21-3
Severity: normal
Tags: patch

Please disregard information about my installed mysql software, I post
about version 5.0.21-4 (and 5.0.22 obtained by apt-get -b source).

The postinst in mysql-server-5.0 is slightly wrong in one case: when
/etc/mysql/debian.cnf does already exist.
The script tries to get the same old password as already mentioned,
which is great and fine. But since there are two lines with password =
in /etc/mysql/debian.cnf (namely one in [user] and one in
[mysql_upgrade]), the script gets the wrong password (it gets
"secretpassword secretpassword" instead of "secretpassword").

The fix is trivial.

--- /tmp/postinst.orig  2006-06-02 17:25:35.000000000 +0200
+++ /var/lib/dpkg/info/mysql-server-5.0.postinst        2006-06-02
17:26:13.000000000 +0200
@@ -128,7 +128,7 @@

     # recreate the credentials file if not present or without
     # mysql_upgrade stanza
     dc=$mysql_cfgdir/debian.cnf;
-    if [ -e "$dc" -a -n "`fgrep mysql_upgrade $dc 2>/dev/null`" ]; then
+    if [ -e "$dc" -a -n "`fgrep mysql_upgrade $dc 2>/dev/null | head -n 1`" ]; 
then
         pass="`sed -n 's/password *= *// p' $dc|head -n 1`"
     else
        pass=`perl -e 'print 
map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..16)'`;



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (499, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages mysql-server-5.0 depends on:
ii  adduser                      3.87        Add and remove users and groups
ii  debconf [debconf-2.0]        1.5.1       Debian configuration management sy
ii  libc6                        2.3.6-11    GNU C Library: Shared libraries
ii  libdbi-perl                  1.50-2      Perl5 database interface by Tim Bu
ii  libgcc1                      1:4.1.0-4   GCC support library
ii  libmysqlclient15off          5.0.21-4    mysql database client library
ii  libncurses5                  5.5-2       Shared libraries for terminal hand
ii  libreadline5                 5.1-7       GNU readline and history libraries
ii  libstdc++6                   4.1.0-4     The GNU Standard C++ Library v3
ii  libwrap0                     7.6.dbs-9   Wietse Venema's TCP wrappers libra
ii  mysql-client-5.0             5.0.21-3    mysql database client binaries
ii  mysql-common                 5.0.21-4    mysql database common files (e.g. 
ii  passwd                       1:4.0.15-10 change and administer password and
ii  perl                         5.8.8-4     Larry Wall's Practical Extraction 
ii  psmisc                       22.2-1      Utilities that use the proc filesy
ii  zlib1g                       1:1.2.3-11  compression library - runtime

Versions of packages mysql-server-5.0 recommends:
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent

-- debconf information excluded


--- End Message ---
--- Begin Message ---
Source: mysql-dfsg-5.0
Source-Version: 5.0.22-2

We believe that the bug you reported is fixed in the latest version of
mysql-dfsg-5.0, which is due to be installed in the Debian FTP archive:

libmysqlclient15-dev_5.0.22-2_amd64.deb
  to pool/main/m/mysql-dfsg-5.0/libmysqlclient15-dev_5.0.22-2_amd64.deb
libmysqlclient15off_5.0.22-2_amd64.deb
  to pool/main/m/mysql-dfsg-5.0/libmysqlclient15off_5.0.22-2_amd64.deb
mysql-client-5.0_5.0.22-2_amd64.deb
  to pool/main/m/mysql-dfsg-5.0/mysql-client-5.0_5.0.22-2_amd64.deb
mysql-client_5.0.22-2_all.deb
  to pool/main/m/mysql-dfsg-5.0/mysql-client_5.0.22-2_all.deb
mysql-common_5.0.22-2_all.deb
  to pool/main/m/mysql-dfsg-5.0/mysql-common_5.0.22-2_all.deb
mysql-dfsg-5.0_5.0.22-2.diff.gz
  to pool/main/m/mysql-dfsg-5.0/mysql-dfsg-5.0_5.0.22-2.diff.gz
mysql-dfsg-5.0_5.0.22-2.dsc
  to pool/main/m/mysql-dfsg-5.0/mysql-dfsg-5.0_5.0.22-2.dsc
mysql-server-5.0_5.0.22-2_amd64.deb
  to pool/main/m/mysql-dfsg-5.0/mysql-server-5.0_5.0.22-2_amd64.deb
mysql-server_5.0.22-2_all.deb
  to pool/main/m/mysql-dfsg-5.0/mysql-server_5.0.22-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Hammers <[EMAIL PROTECTED]> (supplier of updated mysql-dfsg-5.0 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 31 May 2006 01:04:11 +0200
Source: mysql-dfsg-5.0
Binary: libmysqlclient15-dev mysql-client mysql-client-5.0 mysql-server 
mysql-server-5.0 mysql-common libmysqlclient15off
Architecture: source all amd64
Version: 5.0.22-2
Distribution: unstable
Urgency: high
Maintainer: Christian Hammers <[EMAIL PROTECTED]>
Changed-By: Christian Hammers <[EMAIL PROTECTED]>
Description: 
 libmysqlclient15-dev - mysql database development files
 libmysqlclient15off - mysql database client library
 mysql-client - mysql database client (current version)
 mysql-client-5.0 - mysql database client binaries
 mysql-common - mysql database common files (e.g. /etc/mysql/my.cnf)
 mysql-server - mysql database server (current version)
 mysql-server-5.0 - mysql database server binaries
Closes: 369970
Changes: 
 mysql-dfsg-5.0 (5.0.22-2) unstable; urgency=high
 .
   * Fixed debian-sys-maint related bug in postinst (thanks to
     Jean-Christophe Dubacq). Closes: #369970
   * The last upload was a security patch (which I did not know as I
     uploaded before the announcement came). I now added the CVE id for
     reference and set urgency to high as the last entry did not.
Files: 
 8552ca0b5d2453e35a6f2d1f8b4228dd 1090 misc optional mysql-dfsg-5.0_5.0.22-2.dsc
 dd0b056bf035d93364bdf3ff09674044 124674 misc optional 
mysql-dfsg-5.0_5.0.22-2.diff.gz
 e5bde2fe22720d05b2bd1afa8bfe52e4 38730 misc optional 
mysql-common_5.0.22-2_all.deb
 8df69a9ae6f091ab2b6915deb9960f57 36228 misc optional 
mysql-server_5.0.22-2_all.deb
 fcbb193b72bf6a4b627308d0a8293a30 36220 misc optional 
mysql-client_5.0.22-2_all.deb
 dd9f88b87058c83e509ca097b7700355 1421114 libs optional 
libmysqlclient15off_5.0.22-2_amd64.deb
 037db39751b8f88ee40740210ec31f94 6731348 libdevel optional 
libmysqlclient15-dev_5.0.22-2_amd64.deb
 6ed849589d5bde2f4156d5c9dace7dd8 6892260 misc optional 
mysql-client-5.0_5.0.22-2_amd64.deb
 e38be5e7b3b63207c8598e1f44a57000 22491682 misc optional 
mysql-server-5.0_5.0.22-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iEYEARECAAYFAkSBqygACgkQkR9K5oahGObrLQCeLPljpIoshPzdzErNtev4+IiB
CrcAoPFg0DTuYtdutAzDVEJZY9hnUHI2
=k9j3
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to