From owner-freebsd-current@FreeBSD.ORG Wed Apr 28 04:11:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0404216A4CF for ; Wed, 28 Apr 2004 04:11:39 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3595D43D2D for ; Wed, 28 Apr 2004 04:11:38 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 15580 invoked from network); 28 Apr 2004 11:11:36 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 28 Apr 2004 11:11:36 -0000 Message-ID: <408F9168.5020206@liwing.de> Date: Wed, 28 Apr 2004 11:11:36 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040420 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: error mounting nfs shares X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 11:11:39 -0000 Hi all, after updating my system to recent sources (using yesterdays 23:30 UTC checkout), my mountd won't work as expected (as it does for about a year now). I'm using /etc/fstab entries like below to create chroot environments to build kernel, world and ports on a fast machine for slower machines. All machines in my environment are using similar fstab's. --- BEGIN /etc/fstab extract statler:/usr/src /usr/room/p2/usr/src nfs rw,noauto 0 0 statler:/usr/ports /usr/room/p2/usr/ports nfs rw,noauto 0 0 devfs /usr/room/p2/dev devfs rw,auto 0 0 procfs /usr/room/p2/proc procfs rw,auto 0 0 --- END /etc/fstab extract --- BEGIN /etc/exports /usr -alldirs -maproot=root -network 10.62.10.0 -mask 255.255.0.0 /var/www -alldirs -maproot=nobody -alldirs -network 10.62.10.0 -mask 255.255.255.0 /mnt/tmp -alldirs -maproot=root -network 10.62.10.0 -mask 255.255.0.0 /mnt/media -alldirs -maproot=root -network 10.62.10.0 -mask 255.255.0.0 /music -alldirs -maproot=root -network 10.62.10.0 -mask 255.255.0.0 --- END /etc/exports --- BEGIN error messages from /var/log/messages Apr 28 10:47:23 statler mountd[507]: can't change attributes for /usr Apr 28 10:47:23 statler mountd[507]: bad exports list line /usr -alldirs -maproot Apr 28 10:47:23 statler mountd[507]: can't change attributes for /var/www Apr 28 10:47:23 statler mountd[507]: bad exports list line /var/www -alldirs -maproot Apr 28 10:47:23 statler mountd[507]: can't change attributes for /mnt/tmp Apr 28 10:47:23 statler mountd[507]: bad exports list line /mnt/tmp -alldirs -maproot Apr 28 10:47:23 statler mountd[507]: can't change attributes for /mnt/media Apr 28 10:47:23 statler mountd[507]: bad exports list line /mnt/media -alldirs -maproot Apr 28 10:47:23 statler mountd[507]: can't change attributes for /music Apr 28 10:47:23 statler mountd[507]: bad exports list line /music -alldirs -maproot Apr 28 10:47:53 statler mountd[507]: mount request denied from 10.62.10.4 for /usr/src --- END error messages from /var/log/messages Finally I want say, that the first NFS mount succeeds, only the second one and all following ones will fail. I didn't found anything that guides me to solve an error I made on my own reading man-pages belongs to it (mountd(8), fstab(5), exports(5) and referred ones) and /usr/src/UPDATING. Any help would be very nice :-) Best regards, Jens