Jeff Moyer wrote:
> Leonardo Chiquitto <[email protected]> writes:
> 
>> Hello,
>>
>> I've been doing some tests with AutoFS5 and I'd like to confirm that
>> the behavior I'm seeing during the daemon initialization is expected
>> or not.
>>
>> The problem: when the autofs initscript returns, autofs is not really
>> ready.
> 
> Strange.  I originally wrote the code to return a status via a pipe, so
> that the init script would not return status until the daemon was ready
> to service requests.  It also took care of the problem of the init
> script returning success when the daemon actually failed.
> 
> Ian, has this changed?

No, but there was a problem with the read size on x86_64, which has also 
been fixed. I'm not sure if that was a transcription error on my part or 
not.

The other possibility is that the handle_mounts() thread creation could 
be returning before it has completed its initialisation. But looking at 
the code I can't see that happening either, certainly not before the 
mount is done and the map read, if in fact it needs to be read (which, 
as you know, it isn't for the most common configuration).

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to