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

Tue Aug 07 2001 Bob Matthews <bmatthews@redhat.com>
- nfs init script shouldn't fail if /etc/exports doesn't exist (#46432)
This commit is contained in:
cvsdist 2004-09-09 09:16:38 +00:00
parent 7a8b6562b5
commit 1c22dc7357
2 changed files with 15 additions and 9 deletions

View File

@ -1,7 +1,7 @@
Summary: NFS utlilities and supporting daemons for the kernel NFS server.
Summary: NFS utilities and supporting daemons for the kernel NFS server.
Name: nfs-utils
Version: 0.3.1
Release: 11
Release: 12
Source0: ftp://nfs.sourceforge.net/pub/nfs/nfs-utils-%{version}.tar.gz
Source1: ftp://nfs.sourceforge.net/pub/nfs/nfs.doc.tar.gz
Source10: nfs.init
@ -26,18 +26,17 @@ Provides: knfsd-clients
Provides: knfsd
License: GPL
Buildroot: %{_tmppath}/%{name}-root
Requires: kernel >= 2.2.14, portmap >= 4.0, sed, gawk, sh-utils
Requires: kernel >= 2.2.14, portmap >= 4.0, sed, gawk, sh-utils, fileutils
Prereq: /sbin/chkconfig /usr/sbin/useradd /sbin/nologin
%description
The nfs-utils package provides a daemon for the kernel NFS server and
related tools, which provides a much higher level of performance than the
related tools, providing a much higher level of performance than the
traditional Linux NFS server used by most users.
This package also contains the showmount program. Showmount queries the
mount daemon on a remote host for information about the NFS (Network File
System) server on the remote host. For example, showmount can display the
clients which are mounted on that host.
This package also contains the showmount program. Showmount queries
the mount daemon on a remote host for information about the NFS
(Network File System) server on the remote host.
%prep
%setup -q -a 1
@ -127,6 +126,9 @@ fi
%config /etc/rc.d/init.d/nfslock
%changelog
* Tue Aug 7 2001 Bob Matthews <bmatthews@redhat.com>
- nfs init script shouldn't fail if /etc/exports doesn't exist (#46432)
* Fri Jul 13 2001 Bob Matthews <bmatthews@redhat.com>
- Make %pre useradd consistent with other Red Hat packages.

View File

@ -25,7 +25,11 @@ fi
[ -x /usr/sbin/rpc.nfsd ] || exit 0
[ -x /usr/sbin/rpc.mountd ] || exit 0
[ -x /usr/sbin/exportfs ] || exit 0
[ -s /etc/exports ] || exit 0
# Don't fail if /etc/exports doesn't exist; create a bare-bones version and continue.
[ -s /etc/exports ] || \
{ echo "#" > /etc/exports && chmod u+rw,g+r,o+r /etc/exports ; } || \
{ echo "/etc/exports does not exist" ; exit 0 ; }
# Number of servers to be started by default
RPCNFSDCOUNT=8