Comment 54 for bug 32906

Revision history for this message
Andreas Abel (andreas-abel) wrote : Re: sudo shouldn’t ABSOLUTELY NEED to look up the host it’s running on

I just upgraded from 7.10 to 8.04 with the effect that I could not sudo any more (unable to resolve host name)

the problem is that my sysadmin had advised me to remove the line

  127.0.1.1 myhostname

from /etc/hosts a couple of days before the upgrade. When I put it back in, sudo worked again.

mmh, a bit tricky that you cannot sudo because your network settings are wrong, and you cannot change your network settings because you cannot sudo. maybe some more thought is required here, it is too easy to make your system unsteerable...