From owner-freebsd-questions@FreeBSD.ORG Tue Apr 10 17:35:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DEE8116A408 for ; Tue, 10 Apr 2007 17:35:41 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5929013C487 for ; Tue, 10 Apr 2007 17:35:40 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l3AHYr3C008782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 10 Apr 2007 20:34:59 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l3AHYVKB008981 for ; Tue, 10 Apr 2007 20:34:45 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l3AHYVdN008980 for freebsd-questions@freebsd.org; Tue, 10 Apr 2007 20:34:31 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 10 Apr 2007 20:34:31 +0300 From: Giorgos Keramidas To: freebsd-questions@freebsd.org Message-ID: <20070410173431.GA8903@kobe.laptop> References: <20070406183630.GA56672@parts-unknown.org> <20070406190849.GA1465@kobe.laptop> <20070406222614.GA63630@parts-unknown.org> <20070406225640.GA1562@kobe.laptop> <20070407035704.GB9295@parts-unknown.org> <20070410122426.GA6122@kobe.laptop> <20070410155544.GA4157@parts-unknown.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070410155544.GA4157@parts-unknown.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.518, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.68, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Subject: Re: What am I not understanding about /etc/exports? 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: Tue, 10 Apr 2007 17:35:42 -0000 On 2007-04-10 08:55, David Benfell wrote: > Apr 10 08:28:59 earth mountd[739]: can't change attributes for /usr > Apr 10 08:28:59 earth mountd[739]: bad exports list line /usr -alldirs -maproot > Apr 10 08:28:59 earth mountd[739]: network/host conflict > > I've been here before; the FAQ says, "The most frequent problem > is not understanding the correct format of /etc/exports. Please > review exports(5) and the NFS entry in the Handbook, especially > the section on configuring NFS." > > Which leads me back to the original question. Here's the file: > > / -alldirs -maproot=root 127.0.0.1 > #/usr/src -alldirs -maproot=root 127.0.0.1 192.168.19.1 > /usr -alldirs -maproot=root 127.0.0.1 192.168.19.1 > /public -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 > /home -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 > /cdrom -alldirs,quiet,ro 127.0.0.1 -network 192.168 -mask 255.255.0.0 > > And: > > lupin% showmount -e earth.cybernude.org > Exports list on earth.cybernude.org: > /public 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 > /home 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 > / 127.0.0.1 > lupin% > > As you can see, there are serious discrepancies, here. And I cannot > see where my syntax is correct on the lines in /etc/exports that work > and incorrect on the lines which don't work. Hmmm, something odd is going on. Can you show us the output of the command: % cat -vte /etc/exports ??