From owner-freebsd-bugs Wed Apr 11 6:50: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7550037B422 for ; Wed, 11 Apr 2001 06:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3BDo2q95973; Wed, 11 Apr 2001 06:50:02 -0700 (PDT) (envelope-from gnats) Date: Wed, 11 Apr 2001 06:50:02 -0700 (PDT) Message-Id: <200104111350.f3BDo2q95973@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Thomas Quinot Subject: Re: bin/26148: mountd: can't change attributes for /usr Reply-To: Thomas Quinot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/26148; it has been noted by GNATS. From: Thomas Quinot To: freebsd-gnats-submit@FreeBSD.org, quinot@inf.enst.fr Cc: Subject: Re: bin/26148: mountd: can't change attributes for /usr Date: Wed, 11 Apr 2001 15:45:34 +0200 Further investigation reveals that this problem is probably caused by duplicate hosts in our netgroups. Actually, we have a netgroup that contains hosts with both unqualified and qualified domain names, as in: MyNetgroup (myhost,-,-) (myhost.dom.ain,-,-) Names are then looked up and qualified by mountd, and do_mount() is called twice for each host. The second call fails, and leaves an empty export list. It is unclear to me how and where this should be dealt with. Maybe mount(2) could return with EEXIST instead of EPERM when an attempt is made to enter a duplicate host in the export list, and mountd could act correctly upon such an error? 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-bugs" in the body of the message