Public bug reported:
I did a dist-upgrade to hardy and part way through sudo would give me a message
along the lines of "sudo: unable to resolve host NULL", 'NULL' happens to be my
hostname. Following the information here,
http://ubuntuforums.org/archive/index.php/t-613521.html I opened up my
/etc/hosts and saw that I had the host name I had originally entered when I
installed Gutsy, and then changed a few weeks later, instead of NULL,
So instead of "127.0.1.1 NULL" there was "127.0.1.1 <oldhostname>" where
<oldhostname> was the name I had set originally.
I was able to go into recovery mode and change this as root, but it was
very problematic to say the least since I could not use sudo.
** Affects: ubuntu
Importance: Undecided
Status: New
** Tags: sudo
--
dist-upgrade changes hostname in /etc/hosts breaking sudo
https://bugs.launchpad.net/bugs/178831
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs