Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 207210

Summary: sys-apps/util-linux-2.13-r2: can't mount NFS mount points anymore
Product: Gentoo Linux Reporter: Igor Golubev <ooptimum>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: devnull
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Igor Golubev 2008-01-23 20:27:09 UTC
After upgrade of sys-apps/util-linux to the latest release marked as stable, I can't mount any NFS drives exported on the identical computer with the same set of the OS/software. 

Reproducible: Always

Steps to Reproduce:
mount -at nfs
Actual Results:  
mount: wrong fs type, bad option, bad superblock on spider:/usr/portage,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

repeated for all the NFS mount points

Expected Results:  
all NFS mount points are mounted

at the exporting server:
# cat /var/lib/nfs/etab |grep portage
/usr/portage    dragon.inettj.int(rw,async,wdelay,hide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534)

at the importing computer:
# cat /etc/fstab |grep portage
spider:/usr/portage     /usr/portage    nfs             rsize=8192,wsize=8192,hard      0 0

Upon downgrading to sys-apps/util-linux-2.12r-r8, the problem have disappeared.

emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Tue, 22 Jan 2008 04:30:08 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://192.168.128.2/ http://adelie.polymtl.ca/ http://mirror.gentoo.ru/pub/mirror/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1,--hash-style=both"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bitmap-fonts cli cracklib crypt cups dri fortran iconv isdnlog mailwrapper midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl ssl truetype truetype-fonts type1-fonts unicode x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-23 20:35:45 UTC
net-fs/nfs-utils version?
Comment 2 Igor Golubev 2008-01-23 21:18:06 UTC
net-fs/nfs-utils-1.1.0-r1 on both of them
Comment 3 Igor Golubev 2008-01-23 21:19:28 UTC
oops, sorry, only on the exporting server
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-01-23 21:26:29 UTC
(In reply to comment #3)
> oops, sorry, only on the exporting server

Well ooops - so which version is on the client? :) 

Comment 5 Roman Pertl 2008-01-23 22:11:50 UTC
same problem here

problem occured with:
net-nds/portmap-5b-r9
net-libs/libnfsidmap-0.17
net-fs/nfs-utils-1.0.12

upgrading to these versions fixed it:
net-nds/portmap-6.0
net-libs/libnfsidmap-0.19
net-fs/nfs-utils-1.1.0-r1
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-01-23 22:15:21 UTC
(In reply to comment #4)
> so which version is on the client? :) 

Answer the question please.
 

Comment 7 Igor Golubev 2008-01-24 03:38:36 UTC
> Well ooops - so which version is on the client? :) 

The client doesn't export anything, it's just a client, so no any, as there is no necessity.
Comment 8 Igor Golubev 2008-01-24 04:32:24 UTC
Installation of nfs-utils on the client side fixed this.

All prior versions of mount of util-linux didn't require extra mount.nfs and were able to mount NFS drives themselves. The problem appeared after upgrading to util-linux-2.13-r2. Maybe a short remainder in postinst of util-linux about necessity to have nfs-utils installed on a client to mount NFS drives properly could help to avoid confusion.