Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2001 16:01:06 +0200
From:      Thomas Quinot <quinot@inf.enst.fr>
To:        freebsd-current@freebsd.org
Subject:   NFS export to netgroup with duplicate hosts
Message-ID:  <20010412160106.A10472@shalmaneser.enst.fr>

next in thread | raw e-mail | index | archive | help
Hi -CURRENT users,

I wonder what should happen when a volume is exported through NFS
to a netgroup that contains duplicate hosts.

At this site, we have a number of netgroups which contain both
qualified and unqualified host names, as in
  MyNetgroup	(somehost,-,-) (somehost.dom.ain,-,-) ...
and I have the following line in /etc/exports:
  /usr	-alldirs MyNetgroup
(/usr is a ffs file system mount point).

When mountd attempts to register the export list with the kernel,
the first attempt to export to somehost succeeds, and then the
second fails with EPERM ("can't change attributes for /usr"),
and I am left with an empty kernel export list.

This used to work with 5.0-CURRENT as of a few months ago.
Shouldn't such an export work as expected?

Thomas.

-- 
Thomas Quinot ** Département Informatique & Réseaux ** quinot@inf.enst.fr
              ENST   //   46 rue Barrault   //   75634 PARIS CEDEX 13 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010412160106.A10472>