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

Re: Init : someone could comment this ?



On Wed, 09.01.08 17:36, G.Wolfe Woodbury (ggw wolves durham nc us) wrote:

> >> What happens in practice, though, is that things that expect network
> >> services to be running will do DNS lookups, hanging for minutes at at
> >> time when there is no response.
> > 
> > Looks like a good way to identify bugs to me... the DNS hang needs
> > fixed, not worked around.
> 
> One major help would be for Fedora to _not_ mangle the localhost line in
> /etc/hosts.  This has casued me several headaches until I learned to
> remove the local realname from the default localhost line.
> 
> Sure, its not technically incorrect, but its not nice when you've got
> static addresses on a LAN.

Although this is totally off-topic: I still think the proper fix is
something like this:

http://0pointer.de/lennart/projects/nss-myhostname/
http://0pointer.de/lennart/projects/nss-myhostname/README.txt

I wrote that a while back. Maybe someone wants to dust this off and
get it into Fedora and activated by default?

This saved me a couple of times on embedded boxes, where each of the
devices used a different hostname and I had to guarantee that the
hostname stayed resolvable in all cases, with a ro root directory.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


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