[Pkg-nagios-changes] [pkg-nrpe] 04/15: Use restorecon to set SE Linux context on $PIDDIR
Alexander Wirt
formorer at debian.org
Tue Jul 15 16:24:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
formorer pushed a commit to branch master
in repository pkg-nrpe.
commit 6369220aae25e02faf86d11e5b19a44a55e9001a
Author: Alexander Wirt <formorer at debian.org>
Date: Tue Jul 15 10:03:22 2014 +0200
Use restorecon to set SE Linux context on $PIDDIR
Closes: #679241
---
debian/nagios-nrpe-server.init | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/nagios-nrpe-server.init b/debian/nagios-nrpe-server.init
index c0e62c2..e0ca5c7 100644
--- a/debian/nagios-nrpe-server.init
+++ b/debian/nagios-nrpe-server.init
@@ -44,6 +44,7 @@ if [ "$NICENESS" ]; then NICENESS="-n $NICENESS"; fi
if [ ! -d "$PIDDIR" ]; then
mkdir "$PIDDIR"
chown nagios "$PIDDIR"
+ [ -x /sbin/restorecon ] && /sbin/restorecon "$PIDDIR"
fi
set -e
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nrpe.git
More information about the Pkg-nagios-changes
mailing list