[Bug 381623] Re: hosts file is not read

Steve Langasek steve.langasek at canonical.com
Fri Jan 27 19:44:57 UTC 2012


The documented syntax of /etc/host.conf, per the host.conf(5) manpage,
is to use a comma-separated list of keywords.  It sounds like you were
using some other software that parses this file incorrectly.

Nothing to fix in base-files.

** Changed in: base-files (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/381623

Title:
  hosts file is not read

Status in “base-files” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: base-files

  Problem is atleast on ubuntu 9.04. Noticed while using a hosts file
  and dnsmasq dns and dhcp server. I wanted the DNS-server to reply
  first based on my hosts file but it didn't read this file it only used
  the dns servers replies.

  Orginal file
  cat /etc/host.conf
  # The "order" line is only used by old versions of the C library.
  order hosts,bind
  multi on

  How it should be. The comma is not allowed in the configuration, only allowed is # and whitespace.
  cat /etc/host.conf
  # The "order" line is only used by old versions of the C library.
  order hosts bind
  multi on

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/381623/+subscriptions




More information about the foundations-bugs mailing list