Bug 3985

Summary: AMD type:=host mounts broken
Product: Base System Reporter: cschuber <cschuber>
Component: binAssignee: freebsd-bugs mailing list <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: unspecified   
Hardware: Any   
OS: Any   

Description cschuber 1997-06-29 22:30:01 UTC
AMD started with the following command:

amd -p -x fatal,error,user -r -l syslog -a /tmp_mnt /vol amd.vol /home amd.home /net amd.net

amd.net map defined to NIS as follows:

/defaults       type:=host;fs:=${autodir}/${rhost};rhost:=${key}

cwsys           opts:=rw,intr,grpid

cwsys.cwent.com         opts:=rw,intr,grpid,timo=10,retrans=5

cwtest          opts:=rw,intr,grpid,timo=10,retrans=5

cwtest.cwent.com        opts:=rw,intr,grpid,timo=10,retrans=5

*               opts:=rw,intr,nosuid,nodevs,grpid,soft,timo=10,retrans=5

/var/log/messages contains:
Jun 29 14:17:40 cwsys amd[857]: /tmp_mnt/cwsys/export: mount: Bad address
Jun 29 14:17:40 cwsys amd[857]: /tmp_mnt/cwsys/opt: mount: Bad address
Jun 29 14:17:40 cwsys amd[857]: /tmp_mnt/cwsys/usr: mount: Bad address
Jun 29 14:18:05 cwsys amd[860]: /tmp_mnt/cwtest: mount: Bad address

Fix: 

Unable to provide a fix.
How-To-Repeat: Use a Network Host Filesystem (type:=host) as described in the full
description.
Comment 1 cschuber 1997-07-02 19:16:25 UTC
Obtained latest copy of AMD from CVS tree; problem fixed.  Please
close this PR.
-- 
Regards,                       Phone:  (250)387-8437
Cy Schubert                      Fax:  (250)387-5766
UNIX Support                   OV/VM:  BCSC02(CSCHUBER)
ITSD                          BITNET:  CSCHUBER@BCSC02.BITNET
Government of BC            Internet:  cschuber@uumail.gov.bc.ca
                                       cschuber@bcsc02.gov.bc.ca

		"Quit spooling around, JES do it."
Comment 2 jkh freebsd_committer 1997-07-02 22:52:30 UTC
State Changed
From-To: open->closed

Fixed, as noted by submitter.