when startup delays become bugs

Lennart Poettering mzerqung at 0pointer.de
Wed May 15 11:38:54 UTC 2013


On Wed, 15.05.13 12:07, Alexey Torkhov (atorkhov at gmail.com) wrote:

> 2013/5/15 Chris Adams <linux at cmadams.net>:
> > Once upon a time, Chris Murphy <lists at colorremedies.com> said:
> >> The only things related to networking I change is setting a hostname from localhost to f18s, f19s or f19q; and occasionally adding the b43 firmware if I decide to go wireless.
> >
> > Do you add the changed hostname to /etc/hosts?  If not, sendmail (and
> > some other things) will stop for some time trying to resolve the local
> > hostname to an IP address.
> 
> Why doesn't nss_myhostname resolve local hostname even if it is not in
> /etc/hosts?

My suspicion is that sendmail uses res_query() and friends since it
needs MX and stuff... THis means NSS is bypassed and hence
nss_myhostname and /etc/hosts won't take effect anyway...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list