auto-import changelog data from nfs-utils-0.3.1-6.71.src.rpm

Tue Apr 10 2001 Michael K. Johnson <johnsonm@redhat.com>
- do not start lockd on kernel 2.2.18 or higher (done automatically)
This commit is contained in:
cvsdist 2004-09-09 09:15:57 +00:00
parent 71d63d66c1
commit 426d8c6b05
2 changed files with 11 additions and 5 deletions

View File

@ -1,7 +1,7 @@
Summary: NFS utlilities and supporting daemons for the kernel NFS server. Summary: NFS utlilities and supporting daemons for the kernel NFS server.
Name: nfs-utils Name: nfs-utils
Version: 0.3.1 Version: 0.3.1
Release: 5 Release: 6.71
Source0: ftp://nfs.sourceforge.net/pub/nfs/nfs-utils-%{version}.tar.gz Source0: ftp://nfs.sourceforge.net/pub/nfs/nfs-utils-%{version}.tar.gz
Source1: ftp://nfs.sourceforge.net/pub/nfs/nfs.doc.tar.gz Source1: ftp://nfs.sourceforge.net/pub/nfs/nfs.doc.tar.gz
Source10: nfs.init Source10: nfs.init
@ -13,6 +13,7 @@ Patch3: nfs-utils-0.3.1-statd-manpage.patch
Patch4: eepro-support.patch Patch4: eepro-support.patch
Patch5: time-h.patch Patch5: time-h.patch
Patch6: syslog-level.patch Patch6: syslog-level.patch
Patch7: nfs-utils-1.0.3-mountd.secfix.patch
Group: System Environment/Daemons Group: System Environment/Daemons
Obsoletes: nfs-server Obsoletes: nfs-server
Obsoletes: knfsd Obsoletes: knfsd
@ -48,6 +49,7 @@ clients which are mounted on that host.
%patch4 -p1 -b .eepro-support %patch4 -p1 -b .eepro-support
%patch5 -p1 -b .time-h %patch5 -p1 -b .time-h
%patch6 -p1 -b .syslog-level %patch6 -p1 -b .syslog-level
%patch7 -p1 -b .secfix
%build %build
# #
@ -126,6 +128,9 @@ fi
%config /etc/rc.d/init.d/nfslock %config /etc/rc.d/init.d/nfslock
%changelog %changelog
* Tue Apr 10 2001 Michael K. Johnson <johnsonm@redhat.com>
- do not start lockd on kernel 2.2.18 or higher (done automatically)
* Fri Mar 30 2001 Preston Brown <pbrown@redhat.com> * Fri Mar 30 2001 Preston Brown <pbrown@redhat.com>
- don't use rquotad from here now; quota package contains a version that - don't use rquotad from here now; quota package contains a version that
works with 2.4 (#33738) works with 2.4 (#33738)

View File

@ -23,6 +23,7 @@ fi
[ ${NETWORKING} = "no" ] && exit 0 [ ${NETWORKING} = "no" ] && exit 0
KERNVER=`uname -r | awk -F . '{ print $1.$2 }'` KERNVER=`uname -r | awk -F . '{ print $1.$2 }'`
KERNREL=`uname -r | awk -F '[.-]' '{ print $3 }'`
RETVAL=0 RETVAL=0
@ -34,7 +35,7 @@ fi
start() { start() {
# Start daemons. # Start daemons.
echo $"Starting NFS file locking services: " echo $"Starting NFS file locking services: "
if [ "$KERNVER" -lt 24 ]; then if [ "$KERNVER" -lt 24 -a "$KERNREL" -lt 18 ]; then
echo -n $"Starting NFS lockd: " echo -n $"Starting NFS lockd: "
daemon rpc.lockd daemon rpc.lockd
echo echo
@ -50,7 +51,7 @@ start() {
stop() { stop() {
# Stop daemons. # Stop daemons.
echo $"Shutting down NFS file locking services: " echo $"Shutting down NFS file locking services: "
if [ "$KERNVER" -lt 24 ]; then if [ "$KERNVER" -lt 24 -a "$KERNREL" -lt 18 ]; then
echo -n $"Shutting down NFS lockd: " echo -n $"Shutting down NFS lockd: "
killproc lockd killproc lockd
echo echo
@ -72,7 +73,7 @@ case "$1" in
stop stop
;; ;;
status) status)
if [ "$KERNVER" -lt 24 ]; then if [ "$KERNVER" -lt 24 -a "$KERNREL" -lt 18 ]; then
status lockd status lockd
fi fi
status rpc.statd status rpc.statd
@ -86,7 +87,7 @@ case "$1" in
echo start; exit 0 echo start; exit 0
fi fi
/sbin/pidof rpc.statd >/dev/null 2>&1; STATD="$?" /sbin/pidof rpc.statd >/dev/null 2>&1; STATD="$?"
if [ "$KERNVER" -lt 24 ]; then if [ "$KERNVER" -lt 24 -a "$KERNREL" -lt 18 ]; then
/sbin/pidof lockd >/dev/null 2>&1; LOCKD="$?" /sbin/pidof lockd >/dev/null 2>&1; LOCKD="$?"
else else
LOCKD=0 LOCKD=0