RE: Please try knfsd-980930

Jeremy Fitzhardinge (jsgf@sirius.com)
Thu, 08 Oct 1998 17:50:54 -0700 (PDT)


On 01-Oct-98 H.J. Lu wrote:
> This is the Linux kernel NFS daemon. It is based on linux-nfs 0.4.22.
> It is tested on Linux/alpha and Linux/x86 running glibc 2.0.7.

Hi,

I'm having problems with this running with Linux PPC, linux-2.1.125pre2
with the patches in knfsd-980930.

The problem is that clients are not allowed to do anything with
directories which are mountpoints for other server filesystems - anything
at all, including use them as nfs mountpoints. For example:

(ixodes is the x86 Linux 2.1.124 client, wubula is the PPC server)
: root@ixodes:ttyp2; kshowmount -e wubula
Export list for wubula:
/ ixodes
/usr ixodes
/home ixodes
: root@ixodes:ttyp2; mount /n/wubula
: root@ixodes:ttyp2; mount /n/wubula/usr
mount: block device wubula:/usr is write-protected, mounting read-only
mount: block device wubula:/usr is not permitted on its filesystem

17:47:33.460000 ixodes.724172800 > wubula.yatima.org.nfs: 144 lookup fh
Unknown/1 "usr" (ttl 64, id 12156)
17:47:33.460000 wubula.yatima.org.nfs > ixodes.724172800: reply ok 28 lookup
ERROR: Permission denied (ttl 64, id 9777)
[...]

: root@ixodes:ttyp2; ls -l /n/wubula/usr
ls: /n/wubula/usr: Permission denied

17:50:52.710000 ixodes.791281664 > wubula.yatima.org.nfs: 144 lookup fh
Unknown/1 "usr" (ttl 64, id 12320)
17:50:52.710000 wubula.yatima.org.nfs > ixodes.791281664: reply ok 28 lookup
ERROR: Permission denied (ttl 64, id 9999)

Going the other way, with the x86 server and PPC client using the same
version of knfsd, works fine.

Any ideas?

Thanks,
J

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/