nfs mount hangs if nfs subsystem isn't installed

Bug #90268 reported by beej
4
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Fix Released
Medium
LaMont Jones

Bug Description

Binary package hint: mount

DISTRIB_RELEASE=6.10
mount 2.12r-11ubuntu

this machine didn't have the NFS-related packages installed. i added the following to my /etc/fstab:
host:/Volumes/G-Force/path /production nfs nfsvers=3,rsize=8192,wsize=8192,soft 0 0

when i then did:
root@ugrid4:~# mount /production/
that shell was stuck. ctl-c and ctl-z weren't able to interrupt mount

from a different shell, killall mount didn't work. i had to killall -9 mount.

once i did this:
root@ugrid4:~# apt-get install nfs-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libevent1 libgssapi2 libnfsidmap1 librpcsecgss2 portmap
The following NEW packages will be installed:
  libevent1 libgssapi2 libnfsidmap1 librpcsecgss2 nfs-common portmap
<snip>

i was able to succussfully run mount /production.

Changed in util-linux:
importance: Undecided → Low
importance: Low → Medium
Revision history for this message
LaMont Jones (lamont) wrote :

Fixed in 2.13 (by moving all nfs support to nfs-common - you now get a failure message if that is not installed.)

Changed in util-linux:
assignee: nobody → lamont
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.