Subject: bin/15469: mount_nfs doesn't fall back to NFSv2 on NFS_V2_ONLY kernel
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 02/03/2002 21:02:34
>Number:         15469
>Category:       bin
>Synopsis:       mount_nfs doesn't fall back to NFSv2 on NFS_V2_ONLY kernel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 03 04:03:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Izumi Tsutsui
>Release:        NetBSD 1.5ZA 20020201
>Organization:
Izumi Tsutsui	Himeji City, Japan
>Environment:
System: NetBSD mirage 1.5ZA
Architecture: m68k, powerpc
Machine: news68k, macppc
>Description:
mount_nfs does not fall back NFSv2 if kernel does not have
NFSv3 support, so mount_nfs fails on such kernels unless -2 option
is specified.

>How-To-Repeat:
Build kernel with options NFS_V2_ONLY and try mount_nfs on it
from NFSv3 servers:

# mount 192.168.20.1:/home /mnt
mount_nfs: 192.168.20.1:/home on /mnt: Program version wrong
# mount_nfs 192.168.20.1:/home /mnt
mount_nfs: 192.168.20.1:/home on /mnt: Program version wrong
# mount_nfs -3 192.168.20.1:/home /mnt
mount_nfs: 192.168.20.1:/home on /mnt: Program version wrong
# mount_nfs -2 192.168.20.1:/home /mnt
# 

>Fix:
Not provided.
>Release-Note:
>Audit-Trail:
>Unformatted: