← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1078097] Re: /etc/hosts ip checking

 

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1078097

Title:
  /etc/hosts ip checking

Status in Init scripts for use on cloud images:
  Fix Released

Bug description:
  2 lines in /etc/hosts are not necessarily identical if they sort the
  same. Specifically, the first item is the "fully qualified domain
  name", the others are just aliases.

  So you'd need to accommodate that:
   127.0.0.1 localhost.foodomain localhost asystem
  is not the same as
   127.0.0.1 asystem localhost.foodomain localhost

  The current code does a sort to check this, which is incorrect, a more
  correct check needs to be added.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1078097/+subscriptions