[PATCH 0/7] Permit filesystem local caching and NFS superblock
sharing [try #13]
Ian Kent
raven at themaw.net
Mon Sep 4 01:40:27 EDT 2006
On Sun, 2006-09-03 at 09:58 -0700, Andrew Morton wrote:
> On Sun, 03 Sep 2006 14:43:00 +0800
> Ian Kent <raven at themaw.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 at themaw.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
More information about the NFSv4
mailing list