Leonardo Chiquitto wrote:
>> Jeff Moyer wrote:
>>> Leonardo Chiquitto <leonardo.li...@gmail.com> 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.
> 
> The Autofs code is completely right. The problem I'm seeing is being
> caused by startproc, a wrapper to start daemons that some distros
> (like openSUSE) use.
> 
> Applying the following pseudo-patch in the initscript makes everything
> work as it should:
> 
> -    /sbin/startproc $DAEMON $AUTOFS_OPTIONS
> +    $DAEMON $AUTOFS_OPTIONS
> 
> Ian and Jeff, thanks for the help and sorry for the noise. Michael,
> with luck this will be a valid workaround for you too!

Thanks,

That does seem to be working for me.

Michael

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to