This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2389] New: /etc/host.conf mostly useless


Hi,

I noticed that my /etc/host.conf is mostly useless:

order bind,hosts
multi on

The "order" line doesn't have any effect, only the "hosts:" line of
/etc/nsswitch.conf has effect. And indeed, the _res_hconf structure is almost
never used in libc: only _res_hconf.{flags,num_trimdomains,trimdomain} are used.

I guess this is on purpose since the future is /etc/nsswitch.conf, but for
much better readibility, res_hconf.c should probably get some cleanup. I'll
submit a separate bug report to manpages for removing most of the /etc/host.conf
documentation (since it does not work any more)

Regards,
Samuel

-- 
           Summary: /etc/host.conf mostly useless
           Product: glibc
           Version: 2.3.6
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: samuel dot thibault at ens-lyon dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2389

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]