Hi Norvald,

Am 20.02.2015 um 09:01 schrieb Norvald H. Ryeng:
> Thanks for the patch! I think we should fix this in jessie.
> 
> Because of the new my.cnf setup (splitting MySQL, MariaDB and Percona),
> it should include /etc/mysql/mysql.conf.d/, too. The directory
> /etc/mysql/conf.d/ is now for client side settings, while
> /etc/mysql/{mysql|mariadb|percona}.conf.d/ is for server side settings.
> 
> Unfortunately, the patch only covers one layer of includes, but I guess
> that's better than nothing. A proper fix would be to follow nested
> includes, but we'll have to wait for an upstream fix for that.
> 
> As soon as there's an upstream fix, we can backport the patch, but that
> would probably be too late for jessie. I'm poking people upstream to
> increase priority and speed things up a bit.

find attached a patch against the latest master branch of the debian
package.
It's based on https://github.com/waja/mysql-5.5/tree/mysqld_multi

Cheers, Jan.
-- 
Never write mail to <w...@spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS
PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++
------END GEEK CODE BLOCK------
From 339908bc6feb5458d58e7fb404f2cc0c6304625f Mon Sep 17 00:00:00 2001
From: Jan Wagner <w...@cyconet.org>
Date: Fri, 20 Feb 2015 20:36:35 +0100
Subject: [PATCH] Adding mysqld_multi_confd.patch, makes mysqld_multi reading
 conf.d (Closes: #637108)

---
 debian/patches/mysqld_multi_confd.patch | 10 ++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 11 insertions(+)
 create mode 100644 debian/patches/mysqld_multi_confd.patch

diff --git a/debian/patches/mysqld_multi_confd.patch b/debian/patches/mysqld_multi_confd.patch
new file mode 100644
index 0000000..ea62c8a
--- /dev/null
+++ b/debian/patches/mysqld_multi_confd.patch
@@ -0,0 +1,10 @@
+--- a/scripts/mysqld_multi.sh
++++ b/scripts/mysqld_multi.sh
+@@ -487,6 +487,7 @@
+                '@sysconfdir@/my.cnf',
+                ($ENV{MYSQL_HOME} ? "$ENV{MYSQL_HOME}/my.cnf" : undef),
+                $opt{'extra-file'},
++               </etc/mysql/conf.d/*.cnf>,
+                ($ENV{HOME} ? "$ENV{HOME}/.my.cnf" : undef));
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 14d8b17..eab07fc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@ fix-mips64el-ftbfs.patch
 41_scripts__mysql_install_db.sh__no_test.patch
 50_mysql-test__db_test.patch
 fix-mysqlhotcopy-test-failure.patch
+mysqld_multi_confd.patch

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to