[Pkg-nagios-changes] [pkg-icinga2] 06/07: Update initscript to ignore SIGPIPE in daemon

Markus Frosch lazyfrosch at moszumanska.debian.org
Fri Dec 16 15:28:00 UTC 2016


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

lazyfrosch pushed a commit to branch master
in repository pkg-icinga2.

commit 4ed1e107b63aba2166fff976fcbf3a7f4c7e1685
Author: Markus Frosch <lazyfrosch at debian.org>
Date:   Fri Dec 16 16:21:30 2016 +0100

    Update initscript to ignore SIGPIPE in daemon
    
    To work around a known issue in 2.6.0 https://dev.icinga.com/issues/13567
---
 debian/icinga2-common.icinga2.init | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/icinga2-common.icinga2.init b/debian/icinga2-common.icinga2.init
index 1b2e6a7..4ee354c 100644
--- a/debian/icinga2-common.icinga2.init
+++ b/debian/icinga2-common.icinga2.init
@@ -26,6 +26,11 @@ STARTUP_LOG="/var/log/icinga2/startup.log"
 PIDFILE=/var/run/icinga2/$NAME.pid
 SCRIPTNAME=/etc/init.d/$NAME
 
+# Block/ignore SIGPIPE inside Icinga2
+# Workaround for a known bug in 2.6.0
+# see https://dev.icinga.com/issues/13567#note-19
+trap '' 13 # SIGPIPE
+
 # Exit if the package is not installed
 [ -x "$DAEMON" ] || exit 0
 

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



More information about the Pkg-nagios-changes mailing list