[Commits] Rev 3359: MDEV 507 deb/rpm packages for galera builds. in file:///home/hf/wmar/mdev507/

holyfoot at askmonty.org holyfoot at askmonty.org
Tue Nov 27 11:21:10 EET 2012


At file:///home/hf/wmar/mdev507/

------------------------------------------------------------
revno: 3359
revision-id: holyfoot at askmonty.org-20121127091329-t3u3p63jk9wlmzw3
parent: holyfoot at askmonty.org-20121119090138-5r380g9tqtl2qzee
committer: Alexey Botchkov <holyfoot at askmonty.org>
branch nick: mdev507
timestamp: Tue 2012-11-27 13:13:29 +0400
message:
  MDEV 507 deb/rpm packages for galera builds.
          --bind-address=0.0.0.0 added to all 'run mysqld' lines in scripts.
          As on Debian we usually have --bind-address=127.0.0.1 in the my.cnf
          files which makes Galera fail at start.
-------------- next part --------------
=== modified file 'debian/dist/Debian/mariadb-galera-server-5.5.postinst'
--- a/debian/dist/Debian/mariadb-galera-server-5.5.postinst	2012-11-19 09:01:38 +0000
+++ b/debian/dist/Debian/mariadb-galera-server-5.5.postinst	2012-11-27 09:13:29 +0000
@@ -21,7 +21,7 @@ invoke() {
   fi
 }
 
-MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --loose-innodb=OFF --default-storage-engine=myisam"
+MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --bind-address=0.0.0.0 --user=mysql --skip-grant-tables --loose-innodb=OFF --default-storage-engine=myisam"
 
 test_mysql_access() {
        mysql --no-defaults -u root -h localhost </dev/null >/dev/null 2>&1

=== modified file 'debian/dist/Ubuntu/mariadb-galera-server-5.5.postinst'
--- a/debian/dist/Ubuntu/mariadb-galera-server-5.5.postinst	2012-11-19 09:01:38 +0000
+++ b/debian/dist/Ubuntu/mariadb-galera-server-5.5.postinst	2012-11-27 09:13:29 +0000
@@ -21,7 +21,7 @@ invoke() {
   fi
 }
 
-MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --loose-innodb=OFF --default-storage-engine=myisam"
+MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --bind-address=0.0.0.0 --user=mysql --skip-grant-tables --loose-innodb=OFF --default-storage-engine=myisam"
 
 test_mysql_access() {
        mysql --no-defaults -u root -h localhost </dev/null >/dev/null 2>&1

=== modified file 'debian/mariadb-galera-server-5.5.mysql.init'
--- a/debian/mariadb-galera-server-5.5.mysql.init	2012-11-19 09:01:38 +0000
+++ b/debian/mariadb-galera-server-5.5.mysql.init	2012-11-27 09:13:29 +0000
@@ -106,7 +106,7 @@ case "${1:-''}" in
             test -e /var/run/mysqld || install -m 755 -o mysql -g root -d /var/run/mysqld
 
             # Start MariaDB! 
-            /usr/bin/mysqld_safe > /dev/null 2>&1 &
+            /usr/bin/mysqld_safe --bind-address=0.0.0.0 > /dev/null 2>&1 &
 
             # 6s was reported in #352070 to be too few when using ndbcluster
             for i in $(seq 1 "${MYSQLD_STARTUP_TIMEOUT:-30}"); do



More information about the commits mailing list