rpms/ypbind/devel ypbind.init,1.13,1.14
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Nov 27 20:44:45 UTC 2006
Author: dwalsh
Update of /cvs/dist/rpms/ypbind/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7997
Modified Files:
ypbind.init
Log Message:
Don't turn off SELinux boolean until ypbind service stopped
Index: ypbind.init
===================================================================
RCS file: /cvs/dist/rpms/ypbind/devel/ypbind.init,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ypbind.init 31 Aug 2006 14:13:13 -0000 1.13
+++ ypbind.init 27 Nov 2006 20:44:42 -0000 1.14
@@ -81,20 +81,19 @@
logger -t ypbind "bound to NIS server `ypwhich 2> /dev/null`"
touch /var/lock/subsys/ypbind
else
- selinux_off
killproc ypbind
# if we used brute force (like kill -9) we don't want those around
if [ x$(domainname) != x ] ; then
rm -f /var/yp/binding/$(domainname)*
fi
failure "attempting to contact yp server"
+ selinux_off
fi
echo
return $RETVAL
}
stop() {
- selinux_off
echo -n $"Shutting down NIS services: "
killproc ypbind
RETVAL=$?
@@ -106,6 +105,7 @@
fi
fi
echo
+ selinux_off
return $RETVAL
}
More information about the fedora-cvs-commits
mailing list