Bug 20194

Summary: amd doesn't provide directories automatically (or only after an hour)
Product: Base System Reporter: pisjak <pisjak>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description pisjak 2000-07-26 13:50:00 UTC
AMD doesn't recognice automatically new entries in the amd maps (like for
example the SOLARIS automounter does for new entries in the automount maps), 
or only after approx. one hour. Neither "ls <dir>" nor "cd <dir>" succeed.
                                                      
In our case the NIS server is a "Solaris 2.6" machine.
                                                      
Sometimes it helps, when you submit a "kill -HUP" to the AMD process.
Killing and restarting AMD seems to help always.

Fix: 

These are only workarounds, not fixes:
Wait approx. one hour and then try again.
Or supply a "kill -HUP" to the AMD process.
Or kill AMD and restart it.
How-To-Repeat: Share or export the directory "/test" on a nfs server machine.
Make a new entry in amd.<DIR1> on the NIS server, for example
    test rhost:=<nfs-server>;rfs:=/test               
and rebuild the NIS maps.
Comment 1 David E. O'Brien freebsd_committer freebsd_triage 2001-09-02 17:58:58 UTC
State Changed
From-To: open->closed

This is a general issue with Amd and is not particular to amd (am-utils) 
running on FreeBSD.  Please speak to 
http://www.cs.columbia.edu/~ezk/am-utils/index.html about the issue.