← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1039213] Re: cloud-images should contain libnss-myhostname

 

[Expired for cloud-init because there has been no activity for 60 days.]

** Changed in: cloud-init
       Status: Incomplete => Expired

-- 
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/1039213

Title:
  cloud-images should contain libnss-myhostname

Status in cloud-init:
  Expired

Bug description:
  Upon running  'sudo -i'  receive error:
  sudo: unable to resolve host myhostname

  Warning message appears to be only symptom, ie sudo to root is
  successful.

  ENV: http://cloud-
  images.ubuntu.com/releases/precise/release/ubuntu-12.04-server-
  cloudimg-amd64-disk1.img

  Also confirmed issue still exists in http://cloud-
  images.ubuntu.com/releases/12.10/alpha-3/quantal-server-cloudimg-
  amd64-disk1.img

  POSSIBLE SOLUTION

  Looks like either need to more generally make 'sudo' use 'localhost'
  as hostname, or add inserting an entry in '/etc/hosts' for the
  hostname.

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