Subject: bin/11535: NFS access in automounter broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.zhadum.de>
List: netbsd-bugs
Date: 11/21/2000 00:42:18
>Number:         11535
>Category:       bin
>Synopsis:       NFS access in automounter broken
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 21 00:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        2000/11/20
>Organization:
Matthias Scheler                                         http://core.de/~tron/
>Environment:
System: NetBSD lyssa.zhadum.de 1.5K NetBSD 1.5K (LYSSA) #0: Mon Nov 20 12:53:25 CET 2000 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386

>Description:
Using "amd" built from the latest sources I'm not able to mount filesystems
from two NetBSD 1.5 systems. Here is the error output:

Nov 21 09:15:06 lyssa amd[846]: /amd/lugosi/home: mount: Permission denied
Nov 21 09:15:06 lyssa amd[842]: /homes/lugosi: mount (amfs_auto_cont): Permission denied
Nov 21 09:20:30 lyssa amd[851]: /amd/colwyn/ftp/pub: mount: Permission denied
Nov 21 09:20:30 lyssa amd[842]: /ftp/pub: mount (amfs_auto_cont): Permission denied

Here are the configuration files:

"/etc/amd/master":
/ftp            /etc/amd/ftp
/homes          /etc/amd/homes
/volumes        /etc/amd/volumes

"/etc/amd/homes":
/defaults       type:=nfs;opts:=rw,intr,nosuid,nodevs,resvport,tcp

*       host==${key};type:=link;fs:=/home \
        host!=${key};rhost:=${key};rfs:=/home

"/etc/amd/ftp":
/defaults       type:=nfs;opts:=rw,intr,nosuid,nodevs,resvport,tcp

cdrom   rhost:=colwyn;rfs:=/ftp/cdrom
pub     rhost:=colwyn;rfs:=/ftp/pub

>How-To-Repeat:
Use "amd" built from latest sources.

>Fix:
Using "amd" built from 1.5 sources fixes the problem.

>Release-Note:
>Audit-Trail:
>Unformatted: