All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Rousse <Guillaume.Rousse@inria.fr>
To: autofs@linux.kernel.org
Subject: network timeout needed at startup
Date: Wed, 06 Sep 2006 13:13:42 +0200	[thread overview]
Message-ID: <44FEAD66.7060106@inria.fr> (raw)

When using LDAP (and probably other network resources) to store master
map, the network has to be available at autofs daemon start. As Linux
distributions boot time is currently diminushing (hotplug replaced by
udev, various parallelisation effort), I see various race conditions
occuring: the network service finishes, but the actual network interface
is still in initialisation state, leading to autofs start failure.

The primary problem comes from network service implementation, and
should probably get fixed there, right. However, I also think than
having a configurable network timeout directly in autofs (aka: wait at
least 10 second before considering the server is down) may also help in
other scenarios. For instance, when you start various machine
simultaneously (for instance, after a general power down), and your
server takes longer to boot than your workstation.

With autofs 4, I implemented this in service script. Now than everything
is handled by autoumout daemon, this should get implemented there I think.
-- 
Guillaume Rousse
Projet Estime, INRIA
Domaine de Voluceau
Rocquencourt - B.P. 105
78153 Le Chesnay Cedex - France

             reply	other threads:[~2006-09-06 11:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-06 11:13 Guillaume Rousse [this message]
2006-09-15  3:20 ` network timeout needed at startup Ian Kent
2006-09-15 14:17   ` Jeff Moyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44FEAD66.7060106@inria.fr \
    --to=guillaume.rousse@inria.fr \
    --cc=autofs@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.