knfsd 980925, socket problem

David Fries (dfries@umr.edu)
Sat, 26 Sep 1998 00:42:07 -0500


It would appear that with the knfsd my client machine a 2.1.122 diskless
machine can't create a socket.

111 close(0) = 0
111 munmap(0x400e8000, 4096) = 0
111 socket(PF_UNIX, SOCK_STREAM, 0) = 0
111 bind(0, {sun_family=AF_UNIX, sun_path="/dev/log"}, 10) = -1 EPERM
(Operation not permitted)
111 time([906787771]) = 906787771

this is a snip of strace from syslogd, also another program that does the
same operation on a different file gets the same error. I have tested the
client with 2.1.121 and 2.1.122 without any difference. This operation was
working with the standard userland rpc.nfsd.

Also, I want to export a directory to two specific hosts, my etc hosts
line looks like,

/usr SlowPoke.frieshouse.net(ro)

what is the format for read-only access to another host
address say, 192.168.0.200 ?

If I specify the line,
/usr SlowPoke.frieshouse.net(ro,squash_uids=0)
which was valid for the userlevel nfsd, kexportfs -va says,
exportfs: syntax error in exports file (line 54): bad uid/gid list
-snip-

the line is 18 not 54,

-- 
		+---------------------------------+
		|      David Fries                |
		|      dfries@umr.edu             |
		+---------------------------------+

- 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/