summaryrefslogtreecommitdiffstats
path: root/kpropd.init
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@fedoraproject.org>2010-01-14 21:14:26 +0000
committerNalin Dahyabhai <nalin@fedoraproject.org>2010-01-14 21:14:26 +0000
commit2baf72c02fb2833535a3a8b6b7036200f37a3a96 (patch)
treec2604aaf2968abeafbad652669cbc4071a7eedf4 /kpropd.init
parent60b2cbeb094c3fb4c065792dbdff714bfea3c527 (diff)
downloadkrb5-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 'kpropd.init')
-rwxr-xr-xkpropd.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/kpropd.init b/kpropd.init
index 80b7a79..2f0f623 100755
--- a/kpropd.init
+++ b/kpropd.init
@@ -13,6 +13,7 @@
# Provides: kprop
# 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 propagation client
@@ -35,6 +36,8 @@ start() {
[ -f /var/kerberos/krb5kdc/kpropd.acl ] || exit 6
[ -x $kpropd ] || exit 5
echo -n $"Starting $prog: "
+ # tell portreserve to release the krb5_prop port
+ [ -x /sbin/portrelease ] && /sbin/portrelease krb5_prop &>/dev/null || :
daemon ${kpropd} -S
RETVAL=$?
echo