From: Jeff Moyer Subject: Re: autofs5 early daemonization side effects Date: Wed, 18 Mar 2009 10:32:18 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: (Leonardo Chiquitto's message of "Wed, 18 Mar 2009 11:10:21 -0300") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Leonardo Chiquitto Cc: autofs@linux.kernel.org Leonardo Chiquitto 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? -Jeff