- if the init script fails to start krb5kdc/kadmind/kpropd because it's
already running (according to status()), return 0 (part of #521772)
This commit is contained in:
parent
51ff876d52
commit
060205dbf8
@ -56,6 +56,11 @@ start() {
|
|||||||
daemon ${kadmind} ${KRB5REALM:+-r ${KRB5REALM}} $KADMIND_ARGS
|
daemon ${kadmind} ${KRB5REALM:+-r ${KRB5REALM}} $KADMIND_ARGS
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
|
if test $RETVAL -ne 0 ; then
|
||||||
|
if status ${kadmind} > /dev/null ; then
|
||||||
|
RETVAL=0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/kadmin
|
[ $RETVAL = 0 ] && touch /var/lock/subsys/kadmin
|
||||||
}
|
}
|
||||||
stop() {
|
stop() {
|
||||||
|
@ -38,6 +38,11 @@ start() {
|
|||||||
daemon ${kpropd} -S
|
daemon ${kpropd} -S
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
|
if test $RETVAL -ne 0 ; then
|
||||||
|
if status ${kpropd} > /dev/null ; then
|
||||||
|
RETVAL=0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/kprop
|
[ $RETVAL = 0 ] && touch /var/lock/subsys/kprop
|
||||||
}
|
}
|
||||||
stop() {
|
stop() {
|
||||||
|
@ -208,6 +208,10 @@ to obtain initial credentials from a KDC using a private key and a
|
|||||||
certificate.
|
certificate.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 8 2009 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- if the init script fails to start krb5kdc/kadmind/kpropd because it's already
|
||||||
|
running (according to status()), return 0 (part of #521772)
|
||||||
|
|
||||||
* Mon Aug 24 2009 Nalin Dahyabhai <nalin@redhat.com> - 1.7-7
|
* Mon Aug 24 2009 Nalin Dahyabhai <nalin@redhat.com> - 1.7-7
|
||||||
- work around a compile problem with new openssl
|
- work around a compile problem with new openssl
|
||||||
|
|
||||||
|
@ -41,6 +41,11 @@ start() {
|
|||||||
daemon ${krb5kdc} ${KRB5REALM:+-r ${KRB5REALM}} $KRB5KDC_ARGS
|
daemon ${krb5kdc} ${KRB5REALM:+-r ${KRB5REALM}} $KRB5KDC_ARGS
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
|
if test $RETVAL -ne 0 ; then
|
||||||
|
if status ${krb5kdc} > /dev/null ; then
|
||||||
|
RETVAL=0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/krb5kdc
|
[ $RETVAL = 0 ] && touch /var/lock/subsys/krb5kdc
|
||||||
}
|
}
|
||||||
stop() {
|
stop() {
|
||||||
|
Loading…
Reference in New Issue
Block a user