svn commit: r184588 - in head: etc/gss etc/rc.d include/rpc lib/libc/sys lib/libc/xdr lib/librpcsec_gss sbin/mount_nfs sys/compat/freebsd32 sys/conf sys/fs/unionfs sys/kern sys/kgssapi sys/kgssapi/...

Dag-Erling Smørgrav des at des.no
Thu Nov 6 01:31:17 PST 2008


Doug Rabson <dfr at FreeBSD.org> writes:
> Log:
>   Implement support for RPCSEC_GSS authentication to both the NFS client
>   and server. This replaces the RPC implementation of the NFS client and
>   server with the newer RPC implementation originally developed
>   (actually ported from the userland sunrpc code) to support the NFS
>   Lock Manager.  I have tested this code extensively and I believe it is
>   stable and that performance is at least equal to the legacy RPC
>   implementation.

I wonder how much you *did* test.  The nfsserver module won't load:

Nov  6 10:00:14 ds4 kernel: link_elf_obj: symbol svcpool_create undefined
Nov  6 10:00:14 ds4 kernel: kldload: /boot/ds4/nfsserver.ko: Unsupported file type

svcpool_create is apparently part of the krpc module:

des at ds4 ~% gfk \^svcpool_create                                     
src/sys/rpc/svc.c: svcpool_create(const char *name, struct sysctl_oid_list *sysctl_base)
des at ds4 ~% grep -wF svc.c /sys/conf/files*
/sys/conf/files:rpc/svc.c			optional krpc | nfslockd | nfsserver
des at ds4 ~% find /sys/modules -name Makefile | xargs grep -wF svc.c
/sys/modules/krpc/Makefile:	svc.c \

so the nfsserver module lacks a dependency on the krpc module, but that
doesn't matter, because the krpc module won't load either:

Nov  6 10:02:10 ds4 kernel: link_elf_obj: symbol replay_setreply undefined
Nov  6 10:02:10 ds4 kernel: kldload: /boot/ds4/krpc.ko: Unsupported file type

replay_setreply is not part of any module:

des at ds4 ~% gfk \^replay_setreply                            
src/sys/rpc/replay.c: replay_setreply(struct replay_cache *rc,
des at ds4 ~% grep -wF replay.c /sys/conf/files*
/sys/conf/files:rpc/replay.c			optional krpc | nfslockd | nfsserver
des at ds4 ~% find /sys/modules -name Makefile | xargs grep -wF replay.c

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-head mailing list