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=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
if [ $RETVAL -ne 0 ]; then
|
if [ $RETVAL -ne 0 ]; then
|
||||||
selinux_off
|
#selinux_off
|
||||||
logger -t ypbind "failed to start!"
|
logger -t ypbind "failed to start!"
|
||||||
return $RETVAL
|
return $RETVAL
|
||||||
fi
|
fi
|
||||||
@ -110,7 +110,7 @@ start() {
|
|||||||
logger -t ypbind \
|
logger -t ypbind \
|
||||||
"NIS server for domain `domainname` is not responding."
|
"NIS server for domain `domainname` is not responding."
|
||||||
failure
|
failure
|
||||||
selinux_off
|
#selinux_off
|
||||||
RETVAL=100
|
RETVAL=100
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
@ -129,7 +129,7 @@ stop() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
selinux_off
|
#selinux_off
|
||||||
return $RETVAL
|
return $RETVAL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: The NIS daemon which binds NIS clients to an NIS domain.
|
Summary: The NIS daemon which binds NIS clients to an NIS domain.
|
||||||
Name: ypbind
|
Name: ypbind
|
||||||
Version: 1.20.4
|
Version: 1.20.4
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{PACKAGE_VERSION}.tar.bz2
|
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
|
%doc README NEWS
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed May 21 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-5
|
||||||
- Fix init script timing again
|
- Fix init script timing again
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user