All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mountd: clean up rmtab handling
@ 2006-10-25 13:07 Jeff Layton
  2006-12-01 15:29 ` Jeff Layton
  0 siblings, 1 reply; 13+ messages in thread
From: Jeff Layton @ 2006-10-25 13:07 UTC (permalink / raw)
  To: nfs

We have had a few reports from customers that showmount -a is just plain
broken. The manpage says that it should "List both the client hostname
and mounted directory in  host:dir format". Instead, when used with
recent kernels, the output can look something like this (after mounts
from several hosts):

*:/foo
*:/scratch
*,foo.bar.baz:/scratch
10.10.1.41:*
172.16.33.192:*
172.16.33.192:*,foo.bar.baz

The output here varies somewhat depending on how the export table on the
server is configured, but the key is that we're getting multiple lines
here for every mount (some that don't even contain a path), and the
hostname field is often not a hostname or IP address.

The problem seems to be in how the rmtab is being managed and in how
mountd handles the hostname of the client when checking permissions and
such.

The following two patches remedy this. They both should only affect the
case where new_cache is set.

-- Jeff



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-12-13 13:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-25 13:07 [PATCH 0/2] mountd: clean up rmtab handling Jeff Layton
2006-12-01 15:29 ` Jeff Layton
2006-12-04  4:38   ` Neil Brown
2006-12-04  6:33     ` Neil Brown
2006-12-05  2:28       ` Jeff Layton
2006-12-05  2:51         ` Jeff Layton
2006-12-09 12:27           ` Jeff Layton
2006-12-04 15:05     ` Jeff Layton
2006-12-11  1:00       ` Neil Brown
2006-12-11  3:40         ` Jeff Layton
2006-12-12  1:07           ` Neil Brown
2006-12-12  7:52             ` Warren Beldad
2006-12-13 13:17             ` Jeff Layton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.