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

Bug#365048: Problem also seen with the hosts database.



Hi,

I see a similar issue with the hosts database. Consider the following:

/etc/host.conf
    order hosts, bind
    multi on

/etc/nsswitch.conf:
    ...
    hosts:   files [!unavail=return] dns

/etc/hosts:
    11.22.33.44      ldap.example.com

I'm trying to login as root into a system with LDAP logging installed.
Works fine with LDAP access,
but when DNS breaks, I hang resolving ldap.example.com and login times out.
I try to fix this using
    hosts: files [something] dns
but the semantics do not allow me to cease enumeration on success in
files alone, but try on all.
Something is needed to stop enumeration semantics in this case.

Any solutions?

Regards
Alastair McKinstry




Reply to: