[Pkg-nagios-changes] [pkg-nsca] 06/11: Add patch to change PID directory from /var/run to /var/run/nagios.

Bas Couwenberg sebastic at debian.org
Fri Dec 9 17:24:31 UTC 2016


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

sebastic pushed a commit to branch master
in repository pkg-nsca.

commit 8765616a6f2cd5c4bc2a82c2847a6857415c30c4
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Dec 9 18:11:47 2016 +0100

    Add patch to change PID directory from /var/run to /var/run/nagios.
---
 debian/changelog                      |  2 ++
 debian/patches/12_pid-directory.patch | 15 +++++++++++++++
 debian/patches/series                 |  1 +
 3 files changed, 18 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b38b446..17d539d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -45,6 +45,8 @@ nsca (2.9.1-4) UNRELEASED; urgency=medium
     (closes: #824332)
   * Add patch by Xiwen Cheng to fix potential buffer overflow.
     (closes: #685455)
+  * Add patch to change PID directory from /var/run to /var/run/nagios.
+    (closes: #689460)
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 04 Dec 2016 00:04:22 +0100
 
diff --git a/debian/patches/12_pid-directory.patch b/debian/patches/12_pid-directory.patch
new file mode 100644
index 0000000..bca460c
--- /dev/null
+++ b/debian/patches/12_pid-directory.patch
@@ -0,0 +1,15 @@
+Description: Use /var/run/nagios directory for PID file.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug-Debian: https://bugs.debian.org/689460
+
+--- a/sample-config/nsca.cfg.in
++++ b/sample-config/nsca.cfg.in
+@@ -23,7 +23,7 @@ log_facility=@log_facility@
+ # number.  The file is only written if the NSCA daemon is started by the root
+ # user as a single- or multi-process daemon.
+ 
+-pid_file=/var/run/nsca.pid
++pid_file=/var/run/nagios/nsca.pid
+ 
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 56845e2..6b2f5db 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
 09_reserved-identifier-violation.patch
 10_nsca-close-POLLNVAL-accept-bug-causes-hang.patch
 11_fix-potential-buffer-overflow.patch
+12_pid-directory.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nsca.git



More information about the Pkg-nagios-changes mailing list