Don't disable allow_ypbind SELinux boolean on service shutdown
This commit is contained in:
parent
d1bf6942b1
commit
d295b0bee3
@ -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
|
||||
}
|
||||
|
||||
|
@ -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 <vcrhonek@redhat.com> - 3:1.20.4-6
|
||||
- Don't disable allow_ypbind SELinux boolean on service shutdown
|
||||
Resolves: #448240
|
||||
|
||||
* Wed May 21 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-5
|
||||
- Fix init script timing again
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user