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
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?)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org