Comment 2 for bug 235637

Revision history for this message
Anonymous (unquoteveracity-deactivatedaccount) wrote :

I was able to find the cause of the bug, and would appreciate if someone can confirm this by following the steps below:

Steps to reproduce:
1. Launch System > Administration > Network
2. Unlock the application if necessary
3. Click the "General" tab and add a domain (I tried to add the name of my home network, but any name would cause the same problem)
4. Hit close

Expected result:
sudo and gksu do not behave any differently

Actual results:
-gksu applications (such as Synaptic or GParted) either do not launch or must be started twice before they actually launch
-Using sudo from terminal works, but produces the error message "sudo: unable to resolve host [computer name]"

It's worth noting that after you add a domain name in the "General" tab of "Network Settings", that same domain name is appended to the alias of host 127.0.1.1 in the "Hosts" tab of "Network Settings".

Also interesting is that I recently submitted a different bug to report that graphical package managers had been running incredibly slowly on my machine (https://bugs.launchpad.net/ubuntu/+bug/235635). After fixing this network bug I have noticed that package managers no longer bring my machine to a halt. In fact, all other gksu applications (such as my backup application) which had been locking up my computer no longer do so. It appears that the dramatic slowdown I noticed in Synaptic and GDebi was not due to the fact that they were package managers, but due to the fact that they required gksu privileges.

I would appreciate if anyone could confirm any of what I have discussed in this post. I would also appreciate if anyone could elaborate on the cause of my issues. I have provided and elaborated on the symptoms, but am not knowledgeable enough to determine the exact cause of this bug.