Public bug reported:

Binary package hint: network-manager

Description:    Ubuntu hardy (development branch)
Release:        8.04

network-manager:
  Installed: 0.6.6-0ubuntu4
  Candidate: 0.6.6-0ubuntu4
  Version table:
 *** 0.6.6-0ubuntu4 0
        500 http://ca.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

This was a fresh install.

I changed the domain name in the network admin panel. After that, "sudo"
did not work on the command line. It fails with the following error:

[EMAIL PROTECTED]:~$ sudo su
sudo: unable to resolve host hardy-vm

No possible network configuration should ever under any circumstances
cause sudo to stop working, and I therefore consider this to be a bug.

My /etc/hosts file contained:

127.0.0.1 localhost
127.0.1.1 hardy-vm.priv

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Manually adding "hardy-vm" to this file via the network manager fixed
the problem, I was still able to authenticate with the network panel
GUI.

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
hardy: sudo breaks when the domain is changed in network admin panel
https://bugs.launchpad.net/bugs/208947
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to