Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138052 - rpc.mountd: bad path in mount request from 192.168.200.1 ... "/var"
Summary: rpc.mountd: bad path in mount request from 192.168.200.1 ... "/var"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-26 07:36 UTC by Ervin Peters
Modified: 2006-06-27 09:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ervin Peters 2006-06-26 07:36:38 UTC
Hi for some days I can't mount my nfs share which worked for more tha a year before:

redmagic etc # mount /mnt/woodstok
mount: 192.168.200.254:/var failed, reason given by server: Keine Berechtigung

In /var/log/messages of 192.168.200.254 (woodstok) I found:

Jun 26 16:15:33 woodstok rpc.mountd: bad path in mount request from 192.168.200.1: "/var"

So there might be no exportet "/var" on woodstok. But it is:

woodstok ~ # exportfs -v
/var            192.168.200.*(rw,wdelay,nohide,no_root_squash,insecure_locks)

or maybe isn't?

woodstok ~ # cat /proc/fs/nfs/exports
# Version 1.1
# Path Client(Flags) # IPs
woodstok ~ #

I don't understand that.

Nfs is compiled in, I tried various combinations v2,v3,v4.

Server:
woodstok ~ # grep NFS /usr/src/linux/.config
CONFIG_NFS_FS=y
# CONFIG_NFS_V3 is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y

and Client:
redmagic etc # grep NFS /usr/src/linux/.config
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
# CONFIG_NFSD is not set
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y

Activating all NFS things doesn't change anything.

Rebuilding nfs-utils - no change.

It occurs after the last emerge -avuND world followed by kernel update to 2.6.16-gentoo-r9.

Maybe you'd like to see emerge info for both computers:
Server:
woodstok ~ # emerge --info
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.15
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clauthal.de/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --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="x86 acpi activefilter apache2 apm bash-completion berkdb bitmap-fonts cli crypt cups dhcp doc dri eurofile examples extensions fax fbcon follow-xff foomaticdb gdbm gif gpm gs gstreamer imap ipppd iproute2 ipv6 isdnlog jpeg jpeg2k kerberos libg++ libwww logrotate mmx mppe-mppc ncurses nls pam pcre perl pg-hier pg-intdatetime pg-vacuumdelay png postfix ppds pppd python readline reflection sasl sdl session slp spell spl ssl tcpd tools truetype truetype-fonts type1-fonts unicode userlocales winbind xml xml2 xorg zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Client:
redmagic etc # emerge --info
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 mobile AMD Athlon(tm) MP-M 2800+
Gentoo Base System version 1.6.15
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O3 -mtune=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://woodstok.ervnet.local/gentoo-portage"
USE="x86 3dnow 3dnowext 3ds X Xaw3d a52 aac acpi aim alsa amr apache apache2 apm applet asterisk avi bash-completion bdf berkdb bitmap-fonts browserplugin cairo cdparanoia chipcard cjk cli cpudetection crypt css cups curlwrappers cvsgraph dbase divx4linux doc dri dv dvb dvd dvdr dvdread dynagraph ecc effects encode erandom escreen ext-png fame fat fbcon fdftk flash font-server foomaticdb fortran fping fpx freetts gcj gdbm gif gimp gimpprint gkrellm glitz glx gnome gnome-print gnomedb gnutls gphoto2 gps graphviz gs gstreamer gtk gtk2 gzip hfs high-ints id3 ieee1394 imap imlib imlib2 inkjar interbase ipv6 isdnlog java javascript jbig jp2 jpeg kerberos krb4 lame libg++ libwww lm_sensors logrotate lzo lzw mad mdb mikmod mime ming mjpeg mmx mmxext motif mozcalendar mozdevelop mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mpeg4 mplayer mythtv ncurses network nfs nls nocardbus nptl nsplugin ntfs nvidia ofx ogg oggvorbis opengl oss pam pcre pda pdflib perl pg-hier player plotutils plugin png portaudio posix postgres pppd print python qdbm qt quicktime rar readline real reflection reiserfs screen sdl sensord session sharedmem shorten slp smartcard snmp spell spl sse sse-filters sse2 ssl stream svgz tga theora tidy transcode truetype truetype-fonts type1 type1-fonts unichrome unicode userlocales v4l v4l2 vcd vcdimager vfat vorbis win32codecs withsamplescripts wma123 xfs xml2 xmlrpc xmms xorg xpm xprint xscreensaver xsl xslt xv xvmc zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

What can I do to fix it?

ervin
Comment 1 SpanKY gentoo-dev 2006-06-27 03:09:39 UTC
what version of nfs-utils is the client running
Comment 2 Ervin Peters 2006-06-27 08:43:48 UTC
(In reply to comment #1)
> what version of nfs-utils is the client running
> 

redmagic peters # emerge -pv nfs-utils

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-fs/nfs-utils-1.0.6-r6  USE="-tcpd" 0 kB

it is a mostly x86 system with a few ~x86 packages.

ervin
Comment 3 Ervin Peters 2006-06-27 09:21:19 UTC
Following a hint from someone else I replaced the ip-wildcard definition in /etc/exports with an ip/metmask pair and after a restart of nfs it works.

old:

/var 192.168.200.*(...)

new:

/var 192.168.200.0/24(...)

So there have bin some changes in nfs-Server Code with this version.

If looking at man exports there is no ip/wildcard combination mentioned, so it might have bin removed.

thanks
ervin