2012-08-20 20:36:56 |
Lloyd Dewolf |
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 honstame. |
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. |
|