[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1157348427.2940.4.camel@raven.themaw.net>
Date: Mon, 04 Sep 2006 13:40:27 +0800
From: Ian Kent <raven@...maw.net>
To: Andrew Morton <akpm@...l.org>
Cc: Trond Myklebust <trond.myklebust@....uio.no>,
David Howells <dhowells@...hat.com>, torvalds@...l.org,
steved@...hat.com, linux-fsdevel@...r.kernel.org,
linux-cachefs@...hat.com, nfsv4@...ux-nfs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/7] Permit filesystem local caching and NFS superblock
sharing [try #13]
On Sun, 2006-09-03 at 09:58 -0700, Andrew Morton wrote:
> On Sun, 03 Sep 2006 14:43:00 +0800
> Ian Kent <raven@...maw.net> wrote:
>
> > On Sat, 2006-09-02 at 23:30 -0700, Andrew Morton wrote:
> > > On Sun, 03 Sep 2006 14:21:30 +0800
> > > Ian Kent <raven@...maw.net> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists