From owner-freebsd-questions@FreeBSD.ORG Fri Oct 30 22:06:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5C9F106568B for ; Fri, 30 Oct 2009 22:06:33 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.freebsd.org (Postfix) with ESMTP id D38158FC1A for ; Fri, 30 Oct 2009 22:06:33 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KSC0095ULEHXS50@asmtp011.mac.com> for freebsd-questions@freebsd.org; Fri, 30 Oct 2009 15:06:18 -0700 (PDT) Message-id: <1CBF5D4E-1FAD-4340-9754-D7BD5BFE08C7@mac.com> From: Chuck Swiger To: yuri@rawbw.com In-reply-to: <4AEB5F7B.1060202@rawbw.com> Date: Fri, 30 Oct 2009 15:06:17 -0700 References: <4AEB5F7B.1060202@rawbw.com> X-Mailer: Apple Mail (2.936) Cc: freebsd-questions@freebsd.org Subject: Re: Why do I get errors from mountd (can't change attributes for ... bad exports list line ...) ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2009 22:06:34 -0000 Hi-- On Oct 30, 2009, at 2:49 PM, Yuri wrote: > I am getting these errors in messages: > Oct 30 14:37:20 eagle mountd[4243]: can't change attributes for /usr/ > local > Oct 30 14:37:20 eagle mountd[4243]: bad exports list line /usr/local > -maproot > Oct 30 14:37:20 eagle mountd[4243]: can't change attributes for /usr/ > home > Oct 30 14:37:20 eagle mountd[4243]: bad exports list line /usr/home - > network > > Here is my /etc/exports: > /usr/diskless -alldirs -maproot=root -ro -network=10.0.0 - > mask=255.0.0.0 > /usr/local -maproot=root -ro -network=10.0.0 -mask=255.0.0.0 > /usr/home -maproot=root -network=10.0.0 -mask=255.0.0.0 > > What's wrong? > > Also why messages are so cryptic? Which attributes? Why "bad exports > list line"? > If it would explain in messages what's wrong I wouldn't even be > asking question here. For one thing, the second line should be: /usr/local -maproot=root,ro -network=10.0.0 -mask=255.0.0.0 For another, you are only supposed to export a given filesystem once; the notion of exporting it multiple times means you are changing the values of the previous export, and that's not supported. See: http://www.freebsd.org/cgi/query-pr.cgi?pr=109911 ...or your friendly documentation on NFS. Regards, -- -Chuck