[Debian-ha-commits] [resource-agents] 03/08: debian/patches: fix default mysql log and sock paths (Closes: #883281)

Valentin Vidic vvidic-guest at moszumanska.debian.org
Sun Dec 3 17:06:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

vvidic-guest pushed a commit to branch master
in repository resource-agents.

commit 53d5b21ff4f01d880acd41a76a6eeb52297ffd78
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Sun Dec 3 16:58:22 2017 +0100

    debian/patches: fix default mysql log and sock paths (Closes: #883281)
---
 debian/patches/mysql-path.patch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/patches/mysql-path.patch b/debian/patches/mysql-path.patch
index b6b5765..2d290fe 100644
--- a/debian/patches/mysql-path.patch
+++ b/debian/patches/mysql-path.patch
@@ -1,6 +1,6 @@
 --- a/heartbeat/mysql-common.sh
 +++ b/heartbeat/mysql-common.sh
-@@ -23,15 +23,15 @@ if [ "X${HOSTOS}" = "XOpenBSD" ];then
+@@ -23,15 +23,15 @@
  	OCF_RESKEY_socket_default="/var/run/mysql/mysql.sock"
  else
  	if [ "$OCF_RESKEY_binary_default" = "" ]; then
@@ -15,9 +15,9 @@
 -	OCF_RESKEY_log_default="/var/log/mysqld.log"
 -	OCF_RESKEY_pid_default="/var/run/mysql/mysqld.pid"
 -	OCF_RESKEY_socket_default="/var/lib/mysql/mysql.sock"
-+	OCF_RESKEY_log_default="/var/log/mysql.log"
++	OCF_RESKEY_log_default="/var/log/mysql/error.log"
 +	OCF_RESKEY_pid_default="/var/run/mysqld/mysqld.pid"
-+	OCF_RESKEY_socket_default="/var/lib/mysqld/mysqld.sock"
++	OCF_RESKEY_socket_default="/var/run/mysqld/mysqld.sock"
  fi
  OCF_RESKEY_client_binary_default="mysql"
  OCF_RESKEY_test_user_default="root"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/resource-agents.git



More information about the Debian-HA-Commits mailing list