We are using AFS 3.2b with AIX 3.2.4.

We have found that items started at boot time from /etc/rc.local which
depend on files in AFS often (but not always) fail to start.

For example:

if [ -x /usr/local/X11R5/bin/xdm -a -f /usr/local/xdmR5/xdm-config ] ; t
hen
        su root "-c /usr/local/X11R5/bin/xdm -config /usr/local/xdmR5/xd
m-config"
fi

almost always fails to execute.  That is, one of the files in the 'if'
expression is not found.

This is in spite of the fact that afs is started _long_ before
rc.local is run.  This is the first part of our /etc/inittab:

init:2:initdefault:
brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 # Phase 3 of system boot
powerfail::powerfail:/etc/rc.powerfail >/dev/console 2>&1  # d51225
rc:2:wait:/etc/rc > /dev/console 2>&1  # Multi-User checks
fbcheck:2:wait:/usr/lib/dwm/fbcheck >/dev/console 2>&1 # run /etc/firstboot
rcafs:2:wait:/etc/start_afs > /dev/console 2>&1 # Start AFS daemons
srcmstr:2:respawn:/etc/srcmstr          # System Resource Controller
rctcpip:2:wait:/etc/rc.tcpip > /dev/console 2>&1 # Start TCP/IP daemons
rcnfs:2:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemons
rclocal:2:wait:/etc/rc.local > /dev/console 2>&1 # Do local initializations
. . .

It appears that there is some invisible timeout period for an AFS file
reference after which afsd will simply give up and report the file as
non-existant.

Is this a known problem?  Has anyone else experienced/solved this?

-- 
|Rick Cochran             607-255-7223               [EMAIL PROTECTED]|
|Cornell Materials Science Center                    [EMAIL PROTECTED]|
|E20 Clark Hall, Ithaca, N.Y. 14853          cornell!msc.cornell.edu!rick|


Reply via email to