diff --git a/nfs-utils.spec b/nfs-utils.spec index e425989..e69f112 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser Name: nfs-utils URL: http://sourceforge.net/projects/nfs Version: 1.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 # group all 32bit related archs @@ -238,6 +238,10 @@ fi %attr(4755,root,root) /sbin/umount.nfs4 %changelog +* Wed Jun 10 2009 1.2.0-3 +- Updated init scripts to add dependencies + on other system facilities (bz 475133) + * Wed Jun 10 2009 1.2.0-2 - nfsnobody gid is wrong (bz 485379) diff --git a/nfs.init b/nfs.init index 3e03625..290cd53 100755 --- a/nfs.init +++ b/nfs.init @@ -4,12 +4,25 @@ # the NFS services. # # chkconfig: - 60 20 -# description: NFS is a popular protocol for file sharing across TCP/IP \ -# networks. This service provides NFS server functionality, \ -# which is configured via the /etc/exports file. +# description: NFS is a popular protocol for file sharing across networks. +# This service provides NFS server functionality, which is \ +# configured via the /etc/exports file. # probe: true # config: /etc/sysconfig/nfs +### BEGIN INIT INFO +# Provides: nfs +# Required-Start: $local_fs $network $syslog +# Required-Stop: $local_fs $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start up the NFS server sevice +# Description: NFS is a popular protocol for file sharing across networks \ +# This service provides NFS server functionality, \ +# which is configured via the /etc/exports file. +### END INIT INFO + + # Source function library. . /etc/rc.d/init.d/functions diff --git a/nfslock.init b/nfslock.init index 8af4796..d5b3d9e 100755 --- a/nfslock.init +++ b/nfslock.init @@ -5,10 +5,22 @@ # # chkconfig: 345 14 86 # description: NFS is a popular protocol for file sharing across \ -# TCP/IP networks. This service provides NFS file \ -# locking functionality. +# networks. This service provides NFS file locking \ +# functionality. # probe: true +### BEGIN INIT INFO +# Provides: nfslock +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start up the NFS file locking sevice +# Description: NFS is a popular protocol for file sharing across \ +# networks. This service provides NFS file locking \ +# functionality. +### END INIT INFO + # Source function library. . /etc/rc.d/init.d/functions diff --git a/rpcgssd.init b/rpcgssd.init index 5fea5e2..9abc5ee 100755 --- a/rpcgssd.init +++ b/rpcgssd.init @@ -2,11 +2,21 @@ # # rpcgssd Start up and shut down RPCSEC GSS daemon # -# Authors: Chuck Lever -# # chkconfig: 345 19 85 # description: Starts user-level daemon that manages RPCSEC GSS contexts \ -# for the NFSv4 client. +# for the NFS client. + +### BEGIN INIT INFO +# Provides: rpcgssd +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Starts the RPCSEC GSS client daemon +# Description: NFS is a popular protocol for file sharing across \ +# networks. This deamon manages RPCSEC GSS contexts on the +# client used by secure NFS mounts +### END INIT INFO # Source function library. . /etc/init.d/functions diff --git a/rpcidmapd.init b/rpcidmapd.init index 12362d4..35ae247 100755 --- a/rpcidmapd.init +++ b/rpcidmapd.init @@ -2,12 +2,22 @@ # # rpcidmapd Start up and shut down RPC name to UID/GID mapper # -# Authors: Chuck Lever -# # chkconfig: 345 18 85 # description: Starts user-level daemon for NFSv4 that maps user \ # names to UID and GID numbers. +### BEGIN INIT INFO +# Provides: rpcidmapd +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Starts the NFSv4 id mapping daemon +# Description: NFS is a popular protocol for file sharing across \ +# networks. This deamon maps user names and groups to UID \ +# and GID numbers on NFSv4 mounts. +### END INIT INFO + # Source function library. . /etc/init.d/functions diff --git a/rpcsvcgssd.init b/rpcsvcgssd.init index 12f0b62..5d6cb6d 100755 --- a/rpcsvcgssd.init +++ b/rpcsvcgssd.init @@ -2,11 +2,21 @@ # # rpcsvcgssd Start up and shut down RPCSEC GSS daemon # -# Authors: Chuck Lever -# # chkconfig: - 19 69 # description: Starts user-level daemon that manages RPCSEC GSS contexts \ -# for the NFSv4 server. +# for the NFS server. + +### BEGIN INIT INFO +# Provides: rpcsvcgssd +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Starts the RPCSEC GSS server daemon +# Description: NFS is a popular protocol for file sharing across \ +# networks. This deamon manages RPCSEC GSS contexts on the +# server used by secure NFS mounts +### END INIT INFO # Source function library. . /etc/init.d/functions