I had the same problem with some odd effects. barcc:~$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 bluebox.IWNETZ ...
1) After installing sudo 1.6.9p9-1ubuntu1: barcc:~$ sudo ls sudo: unable to resolve host System5 barcc:~$ gksudo gedit test& (nothing happens, i have to do: killall gksudo) 2) With sudo 1.6.8p12-5ubuntu2 there is no problem. Seems to me that the old version ignores /etc/hosts, so the file should be checked when upgrading. 3) With version 1.6.9p9-1ubuntu1 there is no way to become root with one exception: I started aptitude and selected actions->become root. Then i get the same message, but i can enter my password and then i am root. barcc:~$ aptitude sudo: unable to resolve host System5 [sudo] password for barcc: After leaving aptitude type in the same terminal: barcc:~$ gksudo gedit test& The same message occurs, but gedit opens as root barcc:~$ sudo gedit test sudo: unable to resolve host System5 (gedit is not opened) 4) After changing /etc/hosts sudo works. barcc:~$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 System5 ... I think sudo does not handle the problematic file conformal. ** Changed in: sudo (Ubuntu) Sourcepackagename: None => 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs