- 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
|
||||
RETVAL=$?
|
||||
echo
|
||||
if test $RETVAL -ne 0 ; then
|
||||
if status ${kadmind} > /dev/null ; then
|
||||
RETVAL=0
|
||||
fi
|
||||
fi
|
||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/kadmin
|
||||
}
|
||||
stop() {
|
||||
|
@ -38,6 +38,11 @@ start() {
|
||||
daemon ${kpropd} -S
|
||||
RETVAL=$?
|
||||
echo
|
||||
if test $RETVAL -ne 0 ; then
|
||||
if status ${kpropd} > /dev/null ; then
|
||||
RETVAL=0
|
||||
fi
|
||||
fi
|
||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/kprop
|
||||
}
|
||||
stop() {
|
||||
|
@ -208,6 +208,10 @@ to obtain initial credentials from a KDC using a private key and a
|
||||
certificate.
|
||||
|
||||
%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
|
||||
- work around a compile problem with new openssl
|
||||
|
||||
|
@ -41,6 +41,11 @@ start() {
|
||||
daemon ${krb5kdc} ${KRB5REALM:+-r ${KRB5REALM}} $KRB5KDC_ARGS
|
||||
RETVAL=$?
|
||||
echo
|
||||
if test $RETVAL -ne 0 ; then
|
||||
if status ${krb5kdc} > /dev/null ; then
|
||||
RETVAL=0
|
||||
fi
|
||||
fi
|
||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/krb5kdc
|
||||
}
|
||||
stop() {
|
||||
|
Loading…
Reference in New Issue
Block a user