- tell krb5kdc and kadmind to create pid files, since they can
This commit is contained in:
parent
cb407c5fa1
commit
a0ca6e4d98
@ -9,6 +9,7 @@
|
|||||||
# realm.
|
# realm.
|
||||||
# processname: kadmind
|
# processname: kadmind
|
||||||
# config: /etc/sysconfig/kadmin
|
# config: /etc/sysconfig/kadmin
|
||||||
|
# pidfile: /var/run/kadmind.pid
|
||||||
#
|
#
|
||||||
|
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
@ -34,6 +35,7 @@
|
|||||||
. /etc/init.d/functions
|
. /etc/init.d/functions
|
||||||
prog="Kerberos 5 Admin Server"
|
prog="Kerberos 5 Admin Server"
|
||||||
kadmind=/usr/sbin/kadmind
|
kadmind=/usr/sbin/kadmind
|
||||||
|
pidfile=/var/run/kadmind.pid
|
||||||
|
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
|
|
||||||
@ -56,7 +58,7 @@ start() {
|
|||||||
echo -n $"Starting $prog: "
|
echo -n $"Starting $prog: "
|
||||||
# tell portreserve to release the kerberos-adm port
|
# tell portreserve to release the kerberos-adm port
|
||||||
[ -x /sbin/portrelease ] && /sbin/portrelease kerberos-adm &>/dev/null || :
|
[ -x /sbin/portrelease ] && /sbin/portrelease kerberos-adm &>/dev/null || :
|
||||||
daemon ${kadmind} ${KRB5REALM:+-r ${KRB5REALM}} $KADMIND_ARGS
|
daemon ${kadmind} ${KRB5REALM:+-r ${KRB5REALM}} -P $pidfile $KADMIND_ARGS
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
if test $RETVAL -ne 0 ; then
|
if test $RETVAL -ne 0 ; then
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Summary: The Kerberos network authentication system
|
Summary: The Kerberos network authentication system
|
||||||
Name: krb5
|
Name: krb5
|
||||||
Version: 1.8.2
|
Version: 1.8.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
# Maybe we should explode from the now-available-to-everybody tarball instead?
|
# Maybe we should explode from the now-available-to-everybody tarball instead?
|
||||||
# http://web.mit.edu/kerberos/dist/krb5/1.8/krb5-1.8.2-signed.tar
|
# http://web.mit.edu/kerberos/dist/krb5/1.8/krb5-1.8.2-signed.tar
|
||||||
Source0: krb5-%{version}.tar.gz
|
Source0: krb5-%{version}.tar.gz
|
||||||
@ -625,6 +625,9 @@ exit 0
|
|||||||
%{_sbindir}/uuserver
|
%{_sbindir}/uuserver
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 7 2010 Nalin Dahyabhai <nalin@redhat.com> 1.8.2-3
|
||||||
|
- tell krb5kdc and kadmind to create pid files, since they can
|
||||||
|
|
||||||
* Mon Jun 21 2010 Nalin Dahyabhai <nalin@redhat.com> 1.8.2-2
|
* Mon Jun 21 2010 Nalin Dahyabhai <nalin@redhat.com> 1.8.2-2
|
||||||
- libgssapi: pull in patch from svn to stop returning context-expired errors
|
- libgssapi: pull in patch from svn to stop returning context-expired errors
|
||||||
when the ticket which was used to set up the context expires (#605366,
|
when the ticket which was used to set up the context expires (#605366,
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# clients need to connect to in order to obtain credentials.
|
# clients need to connect to in order to obtain credentials.
|
||||||
# processname: krb5kdc
|
# processname: krb5kdc
|
||||||
# config: /etc/sysconfig/krb5kdc
|
# config: /etc/sysconfig/krb5kdc
|
||||||
|
# pidfile: /var/run/krb5kdc.pid
|
||||||
#
|
#
|
||||||
|
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
@ -34,6 +35,7 @@
|
|||||||
RETVAL=0
|
RETVAL=0
|
||||||
prog="Kerberos 5 KDC"
|
prog="Kerberos 5 KDC"
|
||||||
krb5kdc=/usr/sbin/krb5kdc
|
krb5kdc=/usr/sbin/krb5kdc
|
||||||
|
pidfile=/var/run/krb5kdc.pid
|
||||||
|
|
||||||
# Shell functions to cut down on useless shell instances.
|
# Shell functions to cut down on useless shell instances.
|
||||||
start() {
|
start() {
|
||||||
@ -41,7 +43,7 @@ start() {
|
|||||||
echo -n $"Starting $prog: "
|
echo -n $"Starting $prog: "
|
||||||
# tell portreserve to release the kerberos-iv port
|
# tell portreserve to release the kerberos-iv port
|
||||||
[ -x /sbin/portrelease ] && /sbin/portrelease kerberos-iv &>/dev/null || :
|
[ -x /sbin/portrelease ] && /sbin/portrelease kerberos-iv &>/dev/null || :
|
||||||
daemon ${krb5kdc} ${KRB5REALM:+-r ${KRB5REALM}} $KRB5KDC_ARGS
|
daemon ${krb5kdc} ${KRB5REALM:+-r ${KRB5REALM}} -P $pidfile $KRB5KDC_ARGS
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
if test $RETVAL -ne 0 ; then
|
if test $RETVAL -ne 0 ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user