diff options
author | Nalin Dahyabhai <nalin@fedoraproject.org> | 2010-01-14 21:14:26 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@fedoraproject.org> | 2010-01-14 21:14:26 +0000 |
commit | 2baf72c02fb2833535a3a8b6b7036200f37a3a96 (patch) | |
tree | c2604aaf2968abeafbad652669cbc4071a7eedf4 /kadmind.init | |
parent | 60b2cbeb094c3fb4c065792dbdff714bfea3c527 (diff) | |
download | krb5-2baf72c02fb2833535a3a8b6b7036200f37a3a96.tar.gz krb5-2baf72c02fb2833535a3a8b6b7036200f37a3a96.tar.xz krb5-2baf72c02fb2833535a3a8b6b7036200f37a3a96.zip |
- use portreserve to make sure the KDC can always bind to the kerberos-iv
port, kpropd can always bind to the krb5_prop port, and that kadmind
can always bind to the kerberos-adm port (#555279)
- correct inadvertent use of macros in the changelog (rpmlint)
Diffstat (limited to 'kadmind.init')
-rwxr-xr-x | kadmind.init | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kadmind.init b/kadmind.init index 6e248a8..b33668e 100755 --- a/kadmind.init +++ b/kadmind.init @@ -15,6 +15,7 @@ # Provides: kadmin # Required-Start: $local_fs $network # Required-Stop: $local_fs $network +# Should-Start: portreserve # Default-Start: # Default-Stop: 0 1 2 3 4 5 6 # Short-Description: start and stop the Kerberos 5 admin server @@ -53,6 +54,8 @@ start() { [ -x $kadmind ] || exit 5 fi echo -n $"Starting $prog: " + # tell portreserve to release the kerberos-adm port + [ -x /sbin/portrelease ] && /sbin/portrelease kerberos-adm &>/dev/null || : daemon ${kadmind} ${KRB5REALM:+-r ${KRB5REALM}} $KADMIND_ARGS RETVAL=$? echo |