[Debian-ha-commits] [pcs] 05/06: Fix corosync.log location

Valentin Vidic vvidic-guest at moszumanska.debian.org
Mon Jun 20 14:03:27 UTC 2016


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

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

commit 8a6512a03ffdd4465fd9be5a8391d6ebf861842d
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Mon Jun 20 15:59:13 2016 +0200

    Fix corosync.log location
---
 debian/patches/0008-Fix-corosync-log.patch | 11 +++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/0008-Fix-corosync-log.patch b/debian/patches/0008-Fix-corosync-log.patch
new file mode 100644
index 0000000..b7f896c
--- /dev/null
+++ b/debian/patches/0008-Fix-corosync-log.patch
@@ -0,0 +1,11 @@
+--- a/pcs/cluster.py
++++ b/pcs/cluster.py
+@@ -709,7 +709,7 @@
+         quorum_section.add_attribute("two_node", "1")
+ 
+     logging_section.add_attribute("to_logfile", "yes")
+-    logging_section.add_attribute("logfile", "/var/log/cluster/corosync.log")
++    logging_section.add_attribute("logfile", "/var/log/corosync/corosync.log")
+     logging_section.add_attribute("to_syslog", "yes")
+ 
+     return str(corosync_conf), messages
diff --git a/debian/patches/series b/debian/patches/series
index 04aed0f..4c83154 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0005-settings.py
 0006-Replace-orderedhash.patch
 0007-Fix-IPv6-bind.patch
+0008-Fix-corosync-log.patch

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



More information about the Debian-HA-Commits mailing list