Linux-kernel mailing list archive 1998-10,: kernel nfsd troubles

# kernel nfsd troubles

Paul Koning (pkoning@xedia.com)
Wed, 11 Mar 1998 16:59:30 -0500

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: CD323: "Re: kmod/kerneld"
- Previous message: Viggo L. Norum: "UFO Technology? Definitely not, but read c't!"

Under 2.1.88 with the kernel nfsd support I get some strangeness:

I have a /etc/exports file that grants access to / and /usr (different
partitions) as well as some other things.

When I do exportfs -av, I notice that the program is doing the export
operations in a different order than they are listed in the
/etc/export file. In particular, the exports of / appear near the
end.

More importantly, the exports of / all fail with the message
"Operation not permitted".

As a workaround I kludged up the startup script so it separately
exports / first to each of the hosts that can see it; afterwards it
then does the exportfs -a.

On a somewhat related topic, with the usermode nfsd I can (if I
remember right) allow clients to cross mountpoints, so if someone has
access to / they can see /usr. The kernel nfsd disallows this. I
tried to patch out the check for that (in vfs.c) but once I do that I
get an I/O error instead, so clearly this wasn't just done for grins.

Since my Solaris box NFS automounter insists on trying to automount /
(rather than /usr) if I refer to ...myhost/usr/... this problem is a
bit of a bother. Is there a chance of a fix? (Or a pointer to how I
might try to create one?)

Thanks,
paul

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

- Next message: CD323: "Re: kmod/kerneld"
- Previous message: Viggo L. Norum: "UFO Technology? Definitely not, but read c't!"