>>>>> "nalin" == Nalin Dahyabhai <[EMAIL PROTECTED]> writes:
Hi
nalin> On Mon, Jun 05, 2000 at 01:52:26AM +0200, Quintela Carreira Juan J. wrote:
>> Here (woody), I have to execute always
>> /etc/init.d/autofs restart after booting
>>
>> the execution during the boot proccess get only local mount points,
>> not the auto_master nis mounts. NIS is started at that moment. If I
>> put an sleep 5 in the autofs script, things work well, and autofs read
>> the NIS auto_master correctly.
>>
>> If you need more information, let me know.
nalin> We had this same problem in the our distribution. The autofs init script
nalin> can't read the NIS auto.master map if ypbind hasn't been started yet. We
nalin> worked around it by changing the startup order so that autofs would start
nalin> after ypbind. I suspect that a similar fix will work for Debian users.
nalin> (I'm not familiar with the FLAGS variable that appears control this for
nalin> Debian, or I'd probably have included a patch.)
Here NIS is started before autofs, that was not the problem. The
problem is that autofs needs *more* time to be able to read the NIS
auto_master. If I add the sleep 5 delay to autofs script (i.e. I am
not changing the order at all), things work great here.
Later, Juan.
--
In theory, practice and theory are the same, but in practice they
are different -- Larry McVoy