rpms/nfs-utils/devel nfs-utils-1.0.12-rmtab-ipaddr-manupdate.patch, NONE, 1.1 nfs-utils.spec, 1.128, 1.129

Steve Dickson (steved) fedora-extras-commits at redhat.com
Wed May 9 19:04:38 UTC 2007


Author: steved

Update of /cvs/pkgs/rpms/nfs-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15358

Modified Files:
	nfs-utils.spec 
Added Files:
	nfs-utils-1.0.12-rmtab-ipaddr-manupdate.patch 
Log Message:
Updated mountd and showmount reverse lookup flags (bz 220772)


nfs-utils-1.0.12-rmtab-ipaddr-manupdate.patch:

--- NEW FILE nfs-utils-1.0.12-rmtab-ipaddr-manupdate.patch ---
commit 28343730efd6f99efff197bf1efd4b975e874ce4
Author: Steve Dickson <steved at redhat.com>
Date:   Wed May 9 14:59:52 2007 -0400

    The man updated to the "mountd adds gibberish to rmtab" patch
    
    Signed-off-by: Steve Dickson <steved at redhat.com>

diff --git a/utils/mountd/mountd.man b/utils/mountd/mountd.man
index f8646d4..4276663 100644
--- a/utils/mountd/mountd.man
+++ b/utils/mountd/mountd.man
@@ -125,6 +125,13 @@ If this option is not specified the default of
 .BR /var/lib/nfs
 is used.
 .TP
+.BI "\-r," "" " \-\-reverse\-lookup"
+mountd tracks IP addresses in the rmtab, and when a DUMP request is made (by
+someone running showmount -a, for instance), it returns IP addresses instead
+of hostnames by default. This option causes mountd to do a reverse
+lookup on each IP address and return that hostname instead. Enabling this can
+have a substantial negative effect on performance in some situations.
+.TP
 .BR "\-t N" " or " "\-\-num\-threads=N"
 This option specifies the number of worker threads that rpc.mountd
 spawns.  The default is 1 thread, which is probably enough.  More
diff --git a/utils/showmount/showmount.man b/utils/showmount/showmount.man
index 5162ba4..a2f510f 100644
--- a/utils/showmount/showmount.man
+++ b/utils/showmount/showmount.man
@@ -25,8 +25,10 @@ appear as though it were processed through ``sort \-u''.
 .SH OPTIONS
 .TP
 .BR \-a " or " \-\-all
-List both the client hostname and mounted directory in
-host:dir format.
+List both the client hostname or IP address and mounted directory in
+host:dir format. This info should not be considered reliable. See the notes
+on rmtab in 
+.BR rpc.mountd (8).
 .TP
 .BR \-d " or " \-\-directories
 List only the directories mounted by some client.


Index: nfs-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nfs-utils/devel/nfs-utils.spec,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -r1.128 -r1.129
--- nfs-utils.spec	9 May 2007 18:23:26 -0000	1.128
+++ nfs-utils.spec	9 May 2007 19:04:04 -0000	1.129
@@ -47,6 +47,7 @@
 Patch80: nfs-utils-1.0.9-mount-quotes.patch
 Patch81: nfs-utils-1.0.10-mount-fake.patch
 Patch82: nfs-utils-1.0.12-mount-v4-errors.patch
+Patch83: nfs-utils-1.0.12-rmtab-ipaddr-manupdate.patch
 
 %if %{enablefscache}
 Patch90: nfs-utils-1.0.9-mount-fsc.patch
@@ -119,6 +120,7 @@
 %patch80 -p1
 %patch81 -p1
 %patch82 -p1
+%patch83 -p1
 %if %{enablefscache}
 %patch90 -p1
 %endif
@@ -296,6 +298,7 @@
 %changelog
 * Wed May  9 2007 Steve Dickson <steved at redhat.com> 1.0.10-18
 - Fix mount.nfs4 to display correct error message (bz 227212)
+- Updated mountd and showmount reverse lookup flags (bz 220772)
 
 * Tue Apr  3 2007 Steve Dickson <steved at redhat.com> 1.0.12-4
 - Replace portmap dependency with an rpcbind dependency (bz 228894)




More information about the fedora-extras-commits mailing list