From: Seewer Philippe <philippe.seewer-omB+W0Dpw2o@public.gmane.org>
To: "Pádraig Brady" <P@draigBrady.com>
Cc: "initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: dracut requires router
Date: Fri, 8 Oct 2010 16:17:19 +0200 [thread overview]
Message-ID: <4CAF27EF.80301@bfh.ch> (raw)
In-Reply-To: <4CAF23BA.4010605-V8g9lnOeT5ydJdNcDFJN0w@public.gmane.org>
On 10/08/2010 03:59 PM, Pádraig Brady wrote:
> On 08/10/10 14:30, Seewer Philippe wrote:
>> On 10/08/2010 12:20 PM, Pádraig Brady wrote:
>>> My terminals just failed to boot because the router
>>> was (temporarily) unavailable. Seems this is on purpose?
>>>
>>> http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=commit;h=98f25e96
>>>
>>>
>>> I don't know what the above is trying to do exactly.
>>
>> What this does ist simply try and give a possible router enough time to
>> update its STP caches (See
>> http://en.wikipedia.org/wiki/Spanning_tree_protocol) so that subsequent
>> mount attempts don't fail because the router isn't ready.
>>
>> So yes, it is on purpose if the available IP information contains routers.
>>
>> I Hope this helps
>
> Thanks for the info, but.
> Is it right to do this synchronously with such a long timeout?
It has to be done synchronously, sorry. We have to be sure the router is
there and ready if the rootserver is behind the router.
As for the timeout: STP can take between 30-60 seconds. (There's a
reason why there's newer protocols like RSTP etc).
> Is it right to die if we can't contact the router?
Usually yes. Either because the rootserver is behind the router or if
you supplied routing information it's safe to assume that later you want
it to work anyway.
But yes, usually. I would have preferred to somehow a subnet check on
the rootserver to decide what or if to check. But alas, not all netroot
variants know the ip of their rootserver at that point.
I'm always open for ideas on how to improve this.
Regards,
Philippe
next prev parent reply other threads:[~2010-10-08 14:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-08 10:20 dracut requires router Pádraig Brady
[not found] ` <4CAEF060.8030701-V8g9lnOeT5ydJdNcDFJN0w@public.gmane.org>
2010-10-08 13:30 ` Seewer Philippe
[not found] ` <4CAF1D02.6060701-omB+W0Dpw2o@public.gmane.org>
2010-10-08 13:59 ` Pádraig Brady
[not found] ` <4CAF23BA.4010605-V8g9lnOeT5ydJdNcDFJN0w@public.gmane.org>
2010-10-08 14:17 ` Seewer Philippe [this message]
[not found] ` <4CAF27EF.80301-omB+W0Dpw2o@public.gmane.org>
2010-10-08 15:19 ` Pádraig Brady
[not found] ` <4CAF367D.7030707-V8g9lnOeT5ydJdNcDFJN0w@public.gmane.org>
2010-10-15 12:05 ` [PATCH] network: don't die if gateway is down and root server is local Pádraig Brady
[not found] ` <4CB84390.5060203-V8g9lnOeT5ydJdNcDFJN0w@public.gmane.org>
2010-10-15 13:43 ` Harald Hoyer
[not found] ` <4CB85A73.6010902-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-10-15 14:03 ` Pádraig Brady
[not found] ` <4CB85F31.5010207-V8g9lnOeT5ydJdNcDFJN0w@public.gmane.org>
2010-10-28 15:14 ` Harald Hoyer
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=4CAF27EF.80301@bfh.ch \
--to=philippe.seewer-omb+w0dpw2o@public.gmane.org \
--cc=P@draigBrady.com \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.