Hello community,
here is the log from the commit of package nfs-utils
checked in at Mon Jan 8 18:25:13 CET 2007.
--------
--- nfs-utils/nfs-utils.changes 2006-12-18 18:40:20.000000000 +0100
+++ /mounts/work_users/ro/STABLE/nfs-utils/nfs-utils.changes 2007-01-08 18:24:07.953963000 +0100
@@ -1,0 +2,6 @@
+Mon Jan 8 18:23:44 CET 2007 - ro@suse.de
+
+- move srvinfo.d to svcinfo.d (typo in fate entry)
+- Added handling for NFSv4 bind mounts in init script (#229583)
+
+-------------------------------------------------------------------
New:
----
nfs-utils-1.0.7-bind-syntax.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nfs-utils.spec ++++++
--- /var/tmp/diff_new_pack.U22652/_old 2007-01-08 18:24:18.000000000 +0100
+++ /var/tmp/diff_new_pack.U22652/_new 2007-01-08 18:24:18.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package nfs-utils (Version 1.0.10)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -15,7 +15,7 @@
URL: http://nfs.sourceforge.net
Summary: Support Utilities for Kernel nfsd
Version: 1.0.10
-Release: 25
+Release: 29
Group: Productivity/Networking/NFS
Obsoletes: knfsd linuxnfs nfsutils
Provides: knfsd linuxnfs nfsutils
@@ -40,6 +40,7 @@
Patch4: nfs-utils-noroot.patch
Patch5: nfs-utils-gssd-select-ccache.patch
Patch6: nfs-utils-krb5.patch
+Patch7: nfs-utils-1.0.7-bind-syntax.patch
%description
This package contains the NFS utilities. You can tune the number of
@@ -61,6 +62,7 @@
%patch4
%patch5 -p1
%patch6
+%patch7 -p1
%build
%{?suse_update_config:%{suse_update_config -f }}
@@ -191,6 +193,9 @@
%{_mandir}/man8/rpcdebug.8.gz
%changelog -n nfs-utils
+* Mon Jan 08 2007 - ro@suse.de
+- move srvinfo.d to svcinfo.d (typo in fate entry)
+- Added handling for NFSv4 bind mounts in init script (#229583)
* Mon Dec 18 2006 - ro@suse.de
- added nfsserver.xml to /etc/omc/srvinfo.d (fate#301835)
* Tue Aug 08 2006 - ro@suse.de
++++++ nfsserver.init ++++++
--- nfs-utils/nfsserver.init 2006-06-02 12:39:09.000000000 +0200
+++ /mounts/work_users/ro/STABLE/nfs-utils/nfsserver.init 2007-01-08 18:21:33.716536000 +0100
@@ -63,6 +63,32 @@
done < /proc/filesystems
}
+nfs4_bind_mounts() {
+
+ # In case of doubt, try "man sed" :-)
+ cat /etc/exports |
+ sed ':-0;s/\\$//;T;N;s/\n[[:space:]]*/ /;b-0' |
+ sed 's/^\([^[:space:]]*\).*bind=\([^,)]*\).*/\1 \2/;t;d' |
+ sort |
+ while read export dir; do
+ test -d $export || mkdir -p $export
+ # Fortunately, mount ignores unknown
+ # options, so we have an easy way to
+ # tag our "magic" bind mounts
+ mount -o bind,nfsexp $dir $export
+ done
+}
+
+nfs4_unbind_mounts() {
+
+ cat /etc/mtab |
+ grep '\