NetBSD Problem Report #46026

From rom root@cs.uni-bonn.de  Wed Feb 15 15:13:57 2012
Return-Path: <root@cs.uni-bonn.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 5D08663D712
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 15 Feb 2012 15:13:57 +0000 (UTC)
Message-Id: <20120215151354.6853F1BC4F@theory.cs.uni-bonn.de>
Date: Wed, 15 Feb 2012 16:13:54 +0100 (CET)
From: ignatios@cs.uni-bonn.de
Reply-To: ignatios@cs.uni-bonn.de
To: gnats-bugs@gnats.NetBSD.org
Subject: can't use multiple exports(5) lines for a filesystem
X-Send-Pr-Version: 3.95

>Number:         46026
>Category:       kern
>Synopsis:       can't use multiple exports(5) lines for a filesystem
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 15 15:15:00 +0000 2012
>Last-Modified:  Fri Feb 17 16:15:03 +0000 2012
>Originator:     Ignatios Souvatzis
>Release:        NetBSD 5.99.56
>Organization:

>Environment:


System: NetBSD theory.cs.uni-bonn.de 5.99.56 NetBSD 5.99.56 (THEORY-$Revision: 1.1 $) #6: Fri Nov 11 12:55:01 CET 2011 ignatios@random84.cs.uni-bonn.de:/var/itch/obj/cur/sparc64/sys/arch/sparc64/compile/THEORY sparc64
Architecture: sparc64
Machine: sparc64
>Description:

The manual page exports(5) advertizes to use

/foo	somehosts
/foo	someotherhosts -maproot=root

However, when I try to do this I get this error:

Feb 15 15:49:37 theory mountd[13651]: "/foo -maproot", line NN: Can'
t change attributes for /foo to someotherhosts: Operation not permitted

>How-To-Repeat:
	/etc/rc.d/mountd restart	or
	/etc/rc.d/mountd reload

>Fix:

A workaround for us would be to repair the SunOS emulation, so that
we could run Solaris TSM on the server, instead of Linux TSM on a
designated client. But that's a different story...

>Release-Note:

>Audit-Trail:
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org
Subject: Re: kern/46026: can't use multiple exports(5) lines for a
 filesystem
Date: Wed, 15 Feb 2012 18:29:30 +0100

 At 15:15 Uhr +0000 15.02.2012, ignatios@cs.uni-bonn.de wrote:
 >The manual page exports(5) advertizes to use
 >
 >/foo	somehosts
 >/foo	someotherhosts -maproot=root

 exports(5) actually advertises

 /foo	somehosts
 /foo	-maproot=root someotherhosts

 -- maybe that makes a difference?

 	hauke

 -- 
      The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email            Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
      Respect for open standards              Ruf +49-6151-16-3281

From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
To: gnats-bugs@gnats.netbsd.org
Cc: 
Subject: Re: kern/46026
Date: Fri, 17 Feb 2012 16:59:29 +0100

 No... 

 whatever the order of the two lines, or whatever the order of
 -maproot=root and hostname on the line with maproot is, and
 wheter I use reload or restart, I get the same error message.

 Regards,
 	-is

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/46026
Date: Fri, 17 Feb 2012 17:09:21 +0100

 At 16:59 Uhr +0100 17.02.2012, Ignatios Souvatzis wrote:
 >No...
 >
 >whatever the oder of the two lines, or whatever the order of
 >-maproot=root and hostname on the line with maproot is, and
 >wheter I use reload or restart, I get the same error message.

 Ah well - while I am well aware of the voodoo-like l&f of nfs exports, it
 was worth a try.  ;)

 	hauke

 -- 
      The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email            Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
      Respect for open standards              Ruf +49-6151-16-3281

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.