diff --git a/nfs-utils.spec b/nfs-utils.spec index ac8a586..1b39c50 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -1,7 +1,7 @@ Summary: NFS utlilities and supporting daemons for the kernel NFS server. Name: nfs-utils Version: 1.0.7 -Release: 2 +Release: 3 # group all 32bit related archs %define all_32bit_archs i386 i686 athlon @@ -239,6 +239,9 @@ fi %config /etc/rc.d/init.d/nfslock %changelog +* Sat Mar 19 2005 Steve Dickson 1.0.7-3 +- Reworked how /etc/exports is setup (bz 151389) + * Wed Mar 2 2005 Steve Dickson 1.0.7-2 - Tied the rpcsecgss debugging in with gssd and svcgssd debugging diff --git a/nfs.init b/nfs.init index 9bf12fe..be44199 100755 --- a/nfs.init +++ b/nfs.init @@ -28,8 +28,8 @@ fi [ -x /usr/sbin/exportfs ] || 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 ; } || \ +[ -r /etc/exports ] || \ + { touch /etc/exports && chmod u+rw,g+r,o+r /etc/exports ; } || \ { echo "/etc/exports does not exist" ; exit 0 ; } # Check for and source configuration file otherwise set defaults