From 724545eab6ef6f3fe51f2bc6c2578f4d19b5e506 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Mon, 20 Apr 2009 20:32:02 +0000 Subject: [PATCH] - add LSB-style informational headers to the init scripts --- kadmind.init | 11 +++++++++++ kpropd.init | 10 ++++++++++ krb5.spec | 5 ++++- krb5kdc.init | 12 +++++++++++- 4 files changed, 36 insertions(+), 2 deletions(-) diff --git a/kadmind.init b/kadmind.init index d4b4949..bf1d834 100755 --- a/kadmind.init +++ b/kadmind.init @@ -11,6 +11,17 @@ # config: /etc/sysconfig/kadmin # +### BEGIN INIT INFO +# Provides: kadmin +# Required-Start: $local_fs $network +# Required-Stop: $local_fs $network +# Default-Stop: 0 1 2 3 4 5 6 +# Short-Description: start and stop the Kerberos 5 admin server +# Description: The kadmind service allows administrators to remotely manage \ +# the Kerberos 5 realm database. It should only be run on a \ +# master KDC. +### END INIT INFO + # Get config. . /etc/sysconfig/network diff --git a/kpropd.init b/kpropd.init index bc75e46..5482546 100755 --- a/kpropd.init +++ b/kpropd.init @@ -9,6 +9,16 @@ # processname: kpropd # +### BEGIN INIT INFO +# Provides: kprop +# Required-Start: $local_fs $network +# Required-Stop: $local_fs $network +# Default-Stop: 0 1 2 3 4 5 6 +# Short-Description: start and stop the Kerberos 5 propagation client +# Description: The kpropd service accepts database updates pushed to it from \ +# the master KDC. It will never be needed on a master KDC. +### END INIT INFO + # Get config. . /etc/sysconfig/network diff --git a/krb5.spec b/krb5.spec index bfbbbc6..80d5f0c 100644 --- a/krb5.spec +++ b/krb5.spec @@ -13,7 +13,7 @@ Summary: The Kerberos network authentication system Name: krb5 Version: 1.6.3 -Release: 101%{?dist} +Release: 102%{?dist} # Maybe we should explode from the now-available-to-everybody tarball instead? # http://web.mit.edu/kerberos/dist/krb5/1.6/krb5-1.6.2-signed.tar Source0: krb5-%{version}.tar.gz @@ -228,6 +228,9 @@ to obtain initial credentials from a KDC using a private key and a certificate. %changelog +* Mon Apr 20 2009 Nalin Dahyabhai 1.6.3-102 +- add LSB-style init script info + * Fri Apr 17 2009 Nalin Dahyabhai - explicitly run the pdf generation script using sh (part of #225974) diff --git a/krb5kdc.init b/krb5kdc.init index 18d530e..2e85e7f 100755 --- a/krb5kdc.init +++ b/krb5kdc.init @@ -4,12 +4,22 @@ # # chkconfig: - 35 65 # description: Kerberos 5 is a trusted third-party authentication system. \ -# This script starts and stops the server that Kerberos IV and 5 \ +# This script starts and stops the server that Kerberos 5 \ # clients need to connect to in order to obtain credentials. # processname: krb5kdc # config: /etc/sysconfig/krb5kdc # +### BEGIN INIT INFO +# Provides: krb5kdc +# Required-Start: $local_fs $network +# Required-Stop: $local_fs $network +# Default-Stop: 0 1 2 3 4 5 6 +# Short-Description: start and stop the Kerberos 5 KDC +# Description: The krb5kdc is the Kerberos 5 key distribution center, which \ +# issues credentials to Kerberos 5 clients. +### END INIT INFO + # Get config. . /etc/sysconfig/network