[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Init : someone could comment this ?



Lennart Poettering wrote:

Then, the reason I hacked this up was mostly to fix stuff like sudo
and apache, which do a lookup+reverse lookup on initialization, which
fails completely if DNS doesn't work (as in "*immediately* fail") and
the entry is not available in /etc/hosts. DNS lookups that time out
are a different problem.

 And it still fails in the same way, when there is no network (Ie.
daemon can bind to a specific IP that is the "wrong" one).

Hmm?

Are you suggesting that there are daemons that bind on addresses by
resolving host names? Who's doing something like that? Either daemons
should bind on 0.0.0.0 or bind to manually configured IP
adresses. Everything else is broken anyway.

There are a lot of things that can't work and will do horribly wrong things if started without a working DNS - and for reasons not related to your own hostname. Such daemons would be better off if they could defer startup until after DNS works.

--
  Les Mikesell
   lesmikesell gmail com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]