Trying to mount a nfs v3 share exported from a Gentoo box ( gentoo-sources 2.6.28-r3) with a client that tries to autonegotiate an AUTH method fails as the gentoo nfsd returns an empty list of AUTH methods. A snoop of gives 192.168.0.10 -> butler DNS C butler. Internet Addr ? butler -> 192.168.0.10 DNS R butler. Internet Addr 192.168.0.1 192.168.0.10 -> butler PORTMAP C GETPORT prog=100005 (MOUNT) vers=3 proto=UDP butler -> 192.168.0.10 PORTMAP R GETPORT port=44106 192.168.0.10 -> butler MOUNT3 C Null butler -> 192.168.0.10 MOUNT3 R Null 192.168.0.10 -> butler MOUNT3 C Mount /data butler -> 192.168.0.10 MOUNT3 R Mount OK FH=D734 Auth= which is an invalid respons according to MOUNT protocol RFC, <snip> If mountres3.fhs_status is MNT3_OK, then mountres3.mountinfo contains the file handle for the directory and a list of acceptable authentication flavors. This file handle may only be used in the NFS version 3 protocol. <snip> If I specify sec=sys in the export in /etc/exports it works just fine and the mountd returns AUTH=unix Reproducible: Always Steps to Reproduce: 1. Export a directory via nfs 2. Try to mount the export with a strict client 3. Actual Results: Mounting fails due to failed AUTH negotiation. Expected Results: mountd should have returned a list of valid AUTH methods so the client can start negotiation of AUTH method butler andrnils # emerge --info Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Celeron-R-_CPU_E1200_@_1.60GHz-with-gentoo-2.0.0 Timestamp of tree: Sun, 26 Apr 2009 16:15:02 +0000 app-shells/bash: 4.0_p17-r1 dev-java/java-config: 1.3.7, 2.1.7 dev-lang/python: 2.5.4-r2, 2.6.2 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=core2" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.gentoo.no http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3 -s" PKGDIR="/usr/portage/packages/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl acpi afs alsa amd64 bash-completion berkdb bzip2 cairo cli cracklib crypt cups curl dbus dri emacs evdev flac fortran gdbm gif glib glitz gmp google-gadgets gpm hal iconv inotify isdnlog java6 jpeg kde kerberos kipi laptop latex libz logrotate midi mmx mmxext mng mp3 mudflap multilib ncurses networkmanager nptl nptlonly nsplugin offensive opengl openmp pam pch pcre pdf perl png ppds pppd python qt qt-webkit qt3support qt4 rar readline reflection sdl semantic-desktop session spl sse sse2 ssl ssse3 svg sysfs tcpd theora threads tiff truetype unicode vnc vorbis webkit x264 xcomposite xine xinerama xorg xscreensaver xulrunner xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 intel nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
assuming latest version fixes this