From d295b0bee37118e32a6f0ef08cc6be6306c7271e Mon Sep 17 00:00:00 2001 From: vcrhonek Date: Tue, 10 Jun 2008 13:22:46 +0000 Subject: [PATCH] Don't disable allow_ypbind SELinux boolean on service shutdown --- ypbind.init | 6 +++--- ypbind.spec | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ypbind.init b/ypbind.init index 141dff5..bf94bdf 100755 --- a/ypbind.init +++ b/ypbind.init @@ -73,7 +73,7 @@ start() { RETVAL=$? echo if [ $RETVAL -ne 0 ]; then - selinux_off + #selinux_off logger -t ypbind "failed to start!" return $RETVAL fi @@ -110,7 +110,7 @@ start() { logger -t ypbind \ "NIS server for domain `domainname` is not responding." failure - selinux_off + #selinux_off RETVAL=100 fi echo @@ -129,7 +129,7 @@ stop() { fi fi echo - selinux_off + #selinux_off return $RETVAL } diff --git a/ypbind.spec b/ypbind.spec index 3e607c6..1326b2e 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -1,7 +1,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain. Name: ypbind Version: 1.20.4 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL Group: System Environment/Daemons Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{PACKAGE_VERSION}.tar.bz2 @@ -91,6 +91,10 @@ exit 0 %doc README NEWS %changelog +* Tue Jun 10 2008 Vitezslav Crhonek - 3:1.20.4-6 +- Don't disable allow_ypbind SELinux boolean on service shutdown + Resolves: #448240 + * Wed May 21 2008 Vitezslav Crhonek - 3:1.20.4-5 - Fix init script timing again