[Debian-ha-commits] [pcs] 06/14: d/patches: add 0009-Fix-pcsd-port.patch

Valentin Vidic vvidic-guest at moszumanska.debian.org
Sat Oct 14 11:56:43 UTC 2017


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

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

commit 2ab85d0ef2e9557efaa0d571018e905daab0c4ff
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Fri Oct 13 19:01:24 2017 +0200

    d/patches: add 0009-Fix-pcsd-port.patch
    
    Define default pcsd port or the service fails to start.
---
 debian/patches/0009-Fix-pcsd-port.patch | 17 +++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/0009-Fix-pcsd-port.patch b/debian/patches/0009-Fix-pcsd-port.patch
new file mode 100644
index 0000000..76079d8
--- /dev/null
+++ b/debian/patches/0009-Fix-pcsd-port.patch
@@ -0,0 +1,17 @@
+Description: Add missing pcsd port
+ pcsd service fails to start because the default port value
+ is not defined in the debian version of the settings file.
+Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
+Last-Update: 2017-10-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/pcsd/settings.rb.debian
++++ b/pcsd/settings.rb.debian
+@@ -1,6 +1,7 @@
+ PCS_EXEC = '/usr/sbin/pcs'
+ PCSD_EXEC_LOCATION = '/usr/share/pcsd/'
+ PCSD_VAR_LOCATION = '/var/lib/pcsd/'
++PCSD_DEFAULT_PORT = 2224
+ 
+ CRT_FILE = PCSD_VAR_LOCATION + 'pcsd.crt'
+ KEY_FILE = PCSD_VAR_LOCATION + 'pcsd.key'
diff --git a/debian/patches/series b/debian/patches/series
index e19ab09..f70c2ba 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
 0006-Fix-corosync-log.patch
 0007-Fix-testsuite.patch
 0008-Replace-chkconfig.patch
+0009-Fix-pcsd-port.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