Your message dated Sun, 14 Dec 2008 10:47:19 +0000
with message-id <[email protected]>
and subject line Bug#435165: fixed in mysql-dfsg-5.0 5.0.67-2
has caused the Debian Bug report #435165,
regarding mysql-server-5.0: Clearly note we don't support multi-instances by 
duplicating init script
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
435165: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435165
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mysql-server-5.0
Version: 5.0.45-1
Severity: minor

This is the result of the bug reported in Ubuntu. Raised here to pass
the debdiff upstream to Debian.

https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/106244

A user reported that they were trying to run multiple instances of
mysqld by duplicating the init script and changing the value of the CONF
variable within it to point to another configuration file. They raised
the bug in Ubuntu because the /etc/mysql/my.cnf is hard coded in a lot
of the startup scripts, and prevented them from easily running
multi-instances in this way.

After some analysis and discussion with mathiaz and infinity from the
ubuntu-server team it was agreed that we cannot properly support
multi-instances in this way because the maintainer scripts are not
designed to deal with this situation and could therefore lead to
problems on package upgrade/removal. Instead the proper way to do things 
would seem to be to use mysqld_multi.

A patch has been prepared which clearly comments the CONF variable
stating that multi-instances are not supported in this way, and removes
some of the hard-coded instances of '/etc/mysql/my.cnf' for the sake of
tidyness.

(This is my first bug report to the Debian BTS sorry if there are any
slip-ups).


-- System Information:
Debian Release: 4.0
  APT prefers feisty-updates
  APT policy: (500, 'feisty-updates'), (500, 'feisty-security'), (500, 
'feisty-backports'), (500, 'feisty')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.20-16-generic
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
diff -u mysql-dfsg-5.0-5.0.45/debian/changelog 
mysql-dfsg-5.0-5.0.45/debian/changelog
--- mysql-dfsg-5.0-5.0.45/debian/changelog
+++ mysql-dfsg-5.0-5.0.45/debian/changelog
@@ -1,3 +1,14 @@
+mysql-dfsg-5.0 (5.0.45-1ubuntu1) gutsy; urgency=low
+
+  * debian/mysql-server-5.0.mysql.init: modified to
+    - Clearly indicate that we do not support running multiple instances  
+      of mysqld by duplicating the init script.
+    - Properly parameterized all existing references to the mysql config
+      file (/etc/mysql/my.cnf). 
+    (Fixes LP: #106244) 
+
+ -- Dan Munckton <[email protected]>  Fri, 27 Jul 2007 23:58:20 +0100
+
 mysql-dfsg-5.0 (5.0.45-1) unstable; urgency=low
 
   * New upstream release.
diff -u mysql-dfsg-5.0-5.0.45/debian/mysql-server-5.0.mysql.init 
mysql-dfsg-5.0-5.0.45/debian/mysql-server-5.0.mysql.init
--- mysql-dfsg-5.0-5.0.45/debian/mysql-server-5.0.mysql.init
+++ mysql-dfsg-5.0-5.0.45/debian/mysql-server-5.0.mysql.init
@@ -21,8 +21,11 @@
 
 . /lib/lsb/init-functions
 
-SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)
+# NOTE: Copying this script and changing the CONF variable here isn't
+# enough to run multiple instances of mysqld. Debian/Ubuntu doesn't 
+# currently support such a configuration out of the box.
 CONF=/etc/mysql/my.cnf
+SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)
 MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
 
 # priority can be overriden and "-s" adds output to stderr
@@ -51,9 +54,9 @@
 ## Do some sanity checks before even trying to start mysqld.
 sanity_checks() {
   # check for config file
-  if [ ! -r /etc/mysql/my.cnf ]; then
-    log_warning_msg "$0: WARNING: /etc/mysql/my.cnf cannot be read. See 
README.Debian.gz"
-    echo                "WARNING: /etc/mysql/my.cnf cannot be read. See 
README.Debian.gz" | $ERR_LOGGER
+  if [ ! -r "$CONF" ]; then
+    log_warning_msg "$0: WARNING: $CONF cannot be read. See README.Debian.gz"
+    echo                "WARNING: $CONF cannot be read. See README.Debian.gz" 
| $ERR_LOGGER
   fi
 
   # check for buggy options
diff -u mysql-dfsg-5.0-5.0.45/debian/control 
mysql-dfsg-5.0-5.0.45/debian/control
--- mysql-dfsg-5.0-5.0.45/debian/control
+++ mysql-dfsg-5.0-5.0.45/debian/control
@@ -1,7 +1,8 @@
 Source: mysql-dfsg-5.0
 Section: misc
 Priority: optional
-Maintainer: Debian MySQL Maintainers <[email protected]>
+Maintainer: Ubuntu Core Developers <[email protected]>
+XSBC-Original-Maintainer: Debian MySQL Maintainers 
<[email protected]>
 Uploaders:  Christian Hammers <[email protected]>, Sean Finney 
<[email protected]>, Adam Conrad <[email protected]>
 Build-Depends: libtool (>= 1.4.2-7), procps | hurd,  debhelper (>= 4.1.16), 
file (>= 3.28-1), libncurses5-dev (>= 5.0-6), perl (>= 5.6.0), libwrap0-dev (>= 
7.6-8.3), zlib1g-dev (>= 1:1.1.3-5), libreadline5-dev | libreadline-dev, 
psmisc, po-debconf, chrpath, automake1.9, doxygen, texlive-latex-base, gs, 
dpatch, gawk, bison, linux-libc-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64]
 Standards-Version: 3.7.2

--- End Message ---
--- Begin Message ---
Source: mysql-dfsg-5.0
Source-Version: 5.0.67-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.67-2_amd64.deb
  to pool/main/m/mysql-dfsg-5.0/libmysqlclient15-dev_5.0.67-2_amd64.deb
libmysqlclient15off_5.0.67-2_amd64.deb
  to pool/main/m/mysql-dfsg-5.0/libmysqlclient15off_5.0.67-2_amd64.deb
mysql-client-5.0_5.0.67-2_amd64.deb
  to pool/main/m/mysql-dfsg-5.0/mysql-client-5.0_5.0.67-2_amd64.deb
mysql-client_5.0.67-2_all.deb
  to pool/main/m/mysql-dfsg-5.0/mysql-client_5.0.67-2_all.deb
mysql-common_5.0.67-2_all.deb
  to pool/main/m/mysql-dfsg-5.0/mysql-common_5.0.67-2_all.deb
mysql-dfsg-5.0_5.0.67-2.diff.gz
  to pool/main/m/mysql-dfsg-5.0/mysql-dfsg-5.0_5.0.67-2.diff.gz
mysql-dfsg-5.0_5.0.67-2.dsc
  to pool/main/m/mysql-dfsg-5.0/mysql-dfsg-5.0_5.0.67-2.dsc
mysql-server-5.0_5.0.67-2_amd64.deb
  to pool/main/m/mysql-dfsg-5.0/mysql-server-5.0_5.0.67-2_amd64.deb
mysql-server_5.0.67-2_all.deb
  to pool/main/m/mysql-dfsg-5.0/mysql-server_5.0.67-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.
Norbert Tretkowski <[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.8
Date: Sun, 14 Dec 2008 10:12:30 +0100
Source: mysql-dfsg-5.0
Binary: libmysqlclient15off libmysqlclient15-dev mysql-common mysql-client-5.0 
mysql-server-5.0 mysql-server mysql-client
Architecture: source all amd64
Version: 5.0.67-2
Distribution: unstable
Urgency: low
Maintainer: Debian MySQL Maintainers <[email protected]>
Changed-By: Norbert Tretkowski <[email protected]>
Description: 
 libmysqlclient15-dev - MySQL database development files
 libmysqlclient15off - MySQL database client library
 mysql-client - MySQL database client (metapackage depending on the latest 
versio
 mysql-client-5.0 - MySQL database client binaries
 mysql-common - MySQL database common files
 mysql-server - MySQL database server (metapackage depending on the latest 
versio
 mysql-server-5.0 - MySQL database server binaries
Closes: 314785 324834 435165 442684 444216 505179 505181
Changes: 
 mysql-dfsg-5.0 (5.0.67-2) unstable; urgency=low
 .
   * New patch from 5.0.74 to fix check for non-aggregated columns in queries.
     (closes: #505179, #505181)
   * Add patch from Dan Munckton:
     + Clearly indicate that we do not support running multiple instances
       of mysqld by duplicating the init script.
       (closes: #314785, #324834, #435165, #444216)
     + Properly parameterize all existing references to the mysql config
       file (/etc/mysql/my.cnf).
   * Really fix FTBFS if build twice in a row. (closes: #442684)
Checksums-Sha1: 
 0bf2aca3d20fc283ff2d2573a475fdf3be907a62 1706 mysql-dfsg-5.0_5.0.67-2.dsc
 b81964b05558286697ed3145fe1639227f98e962 294080 mysql-dfsg-5.0_5.0.67-2.diff.gz
 b186c0db4e7c0ed1b3ea553778331a53ff02e19a 60448 mysql-common_5.0.67-2_all.deb
 b1d25fb0506ddb59cd51db29a35232cd880d8528 54646 mysql-server_5.0.67-2_all.deb
 b77cefec0155d1344b550ac0e858b5f92ec6cc73 52450 mysql-client_5.0.67-2_all.deb
 a4b9dee2e7d01e7065055d238dd133d607b1e610 1902334 
libmysqlclient15off_5.0.67-2_amd64.deb
 46ec68689870d152efd236694c711fe5b29d609c 7658368 
libmysqlclient15-dev_5.0.67-2_amd64.deb
 ef802326b8877c2ae965c6faf808558cbc050ca2 8243186 
mysql-client-5.0_5.0.67-2_amd64.deb
 e330a93c7894c90e10ec77317ee44bb71d1da928 27381828 
mysql-server-5.0_5.0.67-2_amd64.deb
Checksums-Sha256: 
 2ffb463587cf7b85e8b6c3f301afbadc8ddd1a4b2769249a2f2a3036dbd32a17 1706 
mysql-dfsg-5.0_5.0.67-2.dsc
 64df5d106ba7c4eae406b7c2aed3fec914c79457ee222963372f47f350586c8c 294080 
mysql-dfsg-5.0_5.0.67-2.diff.gz
 dbbb4b214a51d6de124a4a8487e55cb338c51033ed21e9d59a4221a24d7ae12f 60448 
mysql-common_5.0.67-2_all.deb
 143b02f01594ad2e151b67345b4616396cdfc086d7abdce32b740e1fd858baed 54646 
mysql-server_5.0.67-2_all.deb
 80bbec8ada9c4ce6fca1512644072d42d21976f4eb87e4d2be190d2a4913d4cc 52450 
mysql-client_5.0.67-2_all.deb
 a42391fcd94ede64e6a5fca28d3ad63356da2fe6312ad0b093d1128f5ead7b86 1902334 
libmysqlclient15off_5.0.67-2_amd64.deb
 1fa9dec274e8f1c7079ca46a9646ebad811bb290c44660e2b0d6d4ef0d19bf43 7658368 
libmysqlclient15-dev_5.0.67-2_amd64.deb
 49ca86c78310f29035f2be56e83595c58d3d056b4a8d472e10b217c316560460 8243186 
mysql-client-5.0_5.0.67-2_amd64.deb
 d8c65f27f27dd9a32bb030bd6fc8f5a0b86abcd03e573ade0cbaca2e40eab582 27381828 
mysql-server-5.0_5.0.67-2_amd64.deb
Files: 
 b59adeb5f956abac5dab4da5f50406d3 1706 misc optional mysql-dfsg-5.0_5.0.67-2.dsc
 1f110ffc91c7630aea80437354a7cb1d 294080 misc optional 
mysql-dfsg-5.0_5.0.67-2.diff.gz
 5889d7baf6301f89dee0786c0f131492 60448 misc optional 
mysql-common_5.0.67-2_all.deb
 2526148dda0a851b0d370891a1a06530 54646 misc optional 
mysql-server_5.0.67-2_all.deb
 7ef951fcf4693ef6ed31386d20452ca6 52450 misc optional 
mysql-client_5.0.67-2_all.deb
 99e199263dc76650d2333da886b194b4 1902334 libs optional 
libmysqlclient15off_5.0.67-2_amd64.deb
 12ae09c386823a226b31670cba52e4f2 7658368 libdevel optional 
libmysqlclient15-dev_5.0.67-2_amd64.deb
 e7b9cd2f3b4097f53754886ae5abe53b 8243186 misc optional 
mysql-client-5.0_5.0.67-2_amd64.deb
 27af9daa155be933452a7236ef4a176b 27381828 misc optional 
mysql-server-5.0_5.0.67-2_amd64.deb

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

iEYEARECAAYFAklE4FsACgkQr/RnCw96jQEpmwCfT9M/QXs7/rvxsX2cZRCKzWzA
b58An36TJS47Czt5kQVeuUQl49yyqKGI
=RyKr
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to