gksu silently fails in case of hostname issue

Bug #38698 reported by Jerome Lacoste
10
Affects Status Importance Assigned to Milestone
gksu (Ubuntu)
New
Medium
Unassigned

Bug Description

I just updated to dapper. I encountered an issue after the reboot: I wasn't able to check apply my updates anymore.

I identified the issues as sudo not working, and the GUI wrapper (gksu?) silently failing.

The reason?

Some months ago I had renamed my desktop. Somehow this operation didn't go right, but my desktop kept working correctly. The upgrade revealed the issue and I've had to fire a Live CD, mount my LVM partitions and fix /etc by hand.

How to reproduce my issue:

in one shell

$ sudo -s
# echo newname >> /etc/hostname
# hostname newname

in the other:

$ sudo ls
sudo: unable to lookup newname via gethostbyname()
$

Now try to make an operation that requires adminstrative rights in the GUI, the window title "Grant Administrative rights" appear in the Gnome panel, but the window itself never appears.

I am not sure why my broken setup worked before, and if that special issue should be dealt with. But something should be done to catch the issue correctly and display a dialog.

If my configuration issue is common (but I doubt), it should be detected somehow.

Don't forget to revert your /etc changes :)

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

MIght be a dup of Bug #32906

Revision history for this message
Jerome Lacoste (jerome-lacoste) wrote : Re: [Bug 38698] Re: gksu silently fails in case of hostname issue

clearly a dupe of that issue. Good catch.

On 4/12/06, Sitsofe Wheeler <email address hidden> wrote:
> MIght be a dup of Bug #32906
> --
> gksu silently fails in case of hostname issue
> https://launchpad.net/malone/bugs/38698
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.