From owner-freebsd-questions@FreeBSD.ORG Tue Apr 10 16:32:20 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 3482716A401 for ; Tue, 10 Apr 2007 16:32:20 +0000 (UTC) (envelope-from jason.m.moss@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 4D53513C459 for ; Tue, 10 Apr 2007 16:32:19 +0000 (UTC) (envelope-from jason.m.moss@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so113876ugh for ; Tue, 10 Apr 2007 09:32:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=glisebraAHmknkaE8CS8IreAjh/EFEsWna5YDRve2110jRXkbzldnFNX8Kodvym2n6CutXcfbVp0aVJJU0sUKVAaEkC45A+p2TyUqHhJaxFONix23advwYLpu4srsXn54dKv+N/Bb3+dUrVSvkEcMsTG1TLG+EYaMLdmGjfYy30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gFbOQgRaSsmjcbD/Qi3d+DkQPEE05cDpjtdrdFMHvHxXbdWQjvwogDyaW7O8lCZOmgDnPKV+yR4UZkIfi9WqX09bzmHxEnkOG2RTdqL16qX/Pgi2a+4Ywlera1l+ib1HNS2wpGGVkRQFVZSqtkDVSX7cpm2+kFWK9/bP9ZZcLGk= Received: by 10.66.224.19 with SMTP id w19mr380277ugg.1176221027881; Tue, 10 Apr 2007 09:03:47 -0700 (PDT) Received: by 10.67.73.12 with HTTP; Tue, 10 Apr 2007 09:03:47 -0700 (PDT) Message-ID: <80a487270704100903s6542bcc5u2f894fc9bc1bab7e@mail.gmail.com> Date: Tue, 10 Apr 2007 12:03:47 -0400 From: "Jason Moss" To: "Giorgos Keramidas" , freebsd-questions@freebsd.org In-Reply-To: <20070410155544.GA4157@parts-unknown.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> Cc: benfell@parts-unknown.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: Tue, 10 Apr 2007 16:32:20 -0000 Can you please take me off of your mailing list. Thanks! On 4/10/07, David Benfell wrote: > On Tue, 10 Apr 2007 15:24:26 +0300, Giorgos Keramidas wrote: > > On 2007-04-06 20:57, David Benfell wrote: > > >On Sat, 07 Apr 2007 01:56:41 +0300, Giorgos Keramidas wrote: > > >> To allow NFS mounts to work correctly from hosts in the IP ranges > > >> 192.168.18.XXX, 192.168.19.XXX listed in your /etc/exports file, you > > >> will have to extend the list of addressed permitted for 'rpcbind'. > > > > > > I'd definitely missed that. Unfortunately, correcting it (both on > > > client and server) seems to have made no difference. I still have the > > > same symptoms, as if I need to send a HUP signal someplace (but if > > > this is true, then where?). > > > > AFAIR, you have to restart at leats the following: > > > > /etc/rc.d/rpcbind restart > > /etc/rc.d/mountd restart > > > Progress! Or at least something different, now... > > Now it says, on the client, RPC: Program not registered. A google > search yielded the suggestion that I should reboot the client; this > made no difference. > > Stranger still, and different from the scenario described in the > page, there are no messages about NFS in /var/log/messages on the > server; it notes that the slave went down (when I rebooted the client) > and came back up, okay. > > On the client, I'm seeing messages from NIS indicating that it couldn't > get a UDP handle to ypxfer. > > Whoops. > > I checked the packet filtering instructions on both systems; these > seem okay. > > So I tried rebooting the server, and now I'm right back where I > started. But I noticed a complaint that it couldn't change the > attributes on /usr: > > 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. > > -- > David Benfell, LCP > benfell@parts-unknown.org > --- > Resume available at http://www.parts-unknown.org/ > NOTE: I sign all messages with GnuPG (0DD1D1E3). > > -- jason moss vergo | design 215.805.8010 jason@vergodesign.com www.vergodesign.com