From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Kent Subject: Re: [PATCH 0/7] Permit filesystem local caching and NFS superblock sharing [try #13] Date: Mon, 04 Sep 2006 13:40:27 +0800 Message-ID: <1157348427.2940.4.camel@raven.themaw.net> References: <20060831102127.8fb9a24b.akpm@osdl.org> <20060830135503.98f57ff3.akpm@osdl.org> <20060830125239.6504d71a.akpm@osdl.org> <20060830193153.12446.24095.stgit@warthog.cambridge.redhat.com> <27414.1156970238@warthog.cambridge.redhat.com> <9849.1157018310@warthog.cambridge.redhat.com> <9534.1157116114@warthog.cambridge.redhat.com> <20060901093451.87aa486d.akpm@osdl.org> <1157130044.5632.87.camel@localhost> <20060901195009.187af603.akpm@osdl.org> <1157170272.3307.5.camel@raven.themaw.net> <20060901225853.0171fd29.akpm@osdl.org> <1157264490.3520.16.camel@raven.themaw.net> <20060902233023.ce544a00.akpm@osdl.org> <1157265781.3520.18.camel@raven.themaw.net> <20060903095809.c83b8c0b.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Trond Myklebust , David Howells , torvalds@osdl.org, steved@redhat.com, linux-fsdevel@vger.kernel.org, linux-cachefs@redhat.com, nfsv4@linux-nfs.org, linux-kernel@vger.kernel.org Return-path: Received: from out2.smtp.messagingengine.com ([66.111.4.26]:45266 "EHLO out2.smtp.messagingengine.com") by vger.kernel.org with ESMTP id S932312AbWIDFkg (ORCPT ); Mon, 4 Sep 2006 01:40:36 -0400 To: Andrew Morton In-Reply-To: <20060903095809.c83b8c0b.akpm@osdl.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sun, 2006-09-03 at 09:58 -0700, Andrew Morton wrote: > On Sun, 03 Sep 2006 14:43:00 +0800 > Ian Kent wrote: > > > On Sat, 2006-09-02 at 23:30 -0700, Andrew Morton wrote: > > > On Sun, 03 Sep 2006 14:21:30 +0800 > > > Ian Kent wrote: > > > > > > > I guess you haven't got the autofs module loaded instead of autofs4 by > > > > mistake. > > > > > > Nope. > > > > > > > So I wonder what the different is between the setups? > > > > > > Beats me. Maybe cook up a debug patch? > > > > OK. > > > > Could you add "--debug" to DAEMONOPTIONS in /etc/sysconfig/autofs and > > post the output so I can get some idea where to put the prints please. > > > > Sep 3 09:56:40 sony automount[18446]: starting automounter version 4.1.4-29, path = /net, maptype = program, mapname = /etc/auto.net > Sep 3 09:56:40 sony kernel: SELinux: initialized (dev autofs, type autofs), uses genfs_contexts > Sep 3 09:56:40 sony automount[18446]: using kernel protocol version 4.00 > Sep 3 09:56:40 sony automount[18446]: using timeout 60 seconds; freq 15 secs > Sep 3 09:56:53 sony automount[18446]: attempting to mount entry /net/bix > Sep 3 09:56:53 sony kernel: SELinux: initialized (dev 0:16, type nfs), uses genfs_contexts > Sep 3 09:56:53 sony automount[18453]: mount(nfs): mkdir_path /net/bix/usr/src failed: Permission denied > Sep 3 09:56:53 sony automount[18453]: mount(nfs): mkdir_path /net/bix/mnt/export failed: Permission denied I'm able to duplicate this now. My mistake, my exports had the no_root_squash attribute set. Without it I get the permission denied and no mount. Looking through the git-nfs patch I can't see how this would have changed, returning EPERM, perhaps before it gets to the EEXIST check. Anyone else have any idea why this may has changed. Ian -- VGER BF report: H 0