From owner-freebsd-questions@FreeBSD.ORG Wed Apr 11 05:57:45 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 35A1B16A401 for ; Wed, 11 Apr 2007 05:57:45 +0000 (UTC) (envelope-from benfell@earth.parts-unknown.org) Received: from earth.parts-unknown.org (earth.parts-unknown.org [66.93.170.243]) by mx1.freebsd.org (Postfix) with SMTP id 0CB4013C484 for ; Wed, 11 Apr 2007 05:57:45 +0000 (UTC) (envelope-from benfell@earth.parts-unknown.org) Received: (qmail 83685 invoked by uid 501); 11 Apr 2007 05:57:44 -0000 DomainKey-Status: no signature Date: Tue, 10 Apr 2007 22:57:44 -0700 From: David Benfell To: Giorgos Keramidas Message-ID: <20070411055744.GB45292@parts-unknown.org> Mail-Followup-To: Giorgos Keramidas , freebsd-questions@freebsd.org 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> <20070410173431.GA8903@kobe.laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VywGB/WGlW4DM4P8" Content-Disposition: inline In-Reply-To: <20070410173431.GA8903@kobe.laptop> X-gnupg-public-key: http://www.parts-unknown.org/gnupg/export-0DD1D1E3 "From: David Benfell " X-stardate: [-29]7421.13 X-moon: The Moon is Waning Crescent (46% of Full) User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-questions@freebsd.org 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: Wed, 11 Apr 2007 05:57:45 -0000 --VywGB/WGlW4DM4P8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 10 Apr 2007 20:34:31 +0300, Giorgos Keramidas wrote: > 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 > >=20 > > 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." > >=20 > > Which leads me back to the original question. Here's the file: > >=20 > > / -alldirs -maproot=3Droot 127.0.0.1 > > #/usr/src -alldirs -maproot=3Droot 127.0.0.1 192.168.19.1 > > /usr -alldirs -maproot=3Droot 127.0.0.1 192.168.19.1 > > /public -alldirs -maproot=3Droot 127.0.0.1 192.168.18.45 192.168.18.46 = 192.168.19.1 > > /home -alldirs -maproot=3Droot 127.0.0.1 192.168.18.45 192.168.18.46 19= 2.168.19.1 > > /cdrom -alldirs,quiet,ro 127.0.0.1 -network 192.168 -mask 255.255.0.0 > >=20 > > And: > >=20 > > lupin% showmount -e earth.cybernude.org > > Exports list on earth.cybernude.org: > > /public 127.0.0.1 192.168.18.45 192.168.18.4= 6 192.168.19.1=20 > > /home 127.0.0.1 192.168.18.45 192.168.18.4= 6 192.168.19.1=20 > > / 127.0.0.1=20 > > lupin%=20 > >=20 > > 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. >=20 > Hmmm, something odd is going on. Can you show us the output of the > command: >=20 > % cat -vte /etc/exports >=20 earth% cat -vte /etc/exports / -alldirs -maproot=3Droot 127.0.0.1$ #/usr/src -alldirs -maproot=3Droot 127.0.0.1 192.168.19.1$ /usr -alldirs -maproot=3Droot 127.0.0.1 192.168.19.1$ /public -alldirs -maproot=3Droot 127.0.0.1 192.168.18.45 192.168.18.46 192.= 168.19.1$ /home -alldirs -maproot=3Droot 127.0.0.1 192.168.18.45 192.168.18.46 192.16= 8.19.1$ /cdrom -alldirs,quiet,ro 127.0.0.1 -network 192.168 -mask 255.255.0.0$ I think this is what I expect (based on the man page for cat(1)). Thanks! --=20 David Benfell, LCP benfell@parts-unknown.org --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). --VywGB/WGlW4DM4P8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGHHjYUd+dMw3R0eMRAlZeAJ9zqOdpKdMqSq8vzfI15nGNtqBvSwCcCDwX 8iGZaXl6nS9BOoTMDEIgaMg= =Y9Ga -----END PGP SIGNATURE----- --VywGB/WGlW4DM4P8--