sudo hangs when localhost can not be resolved
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
What has been done?
1) Ubuntu x64 8.04 (desktop version from live CD) has been installed with almost default settings to 20Gb JFS partition.
No network was available during install.
2) Network has been configured.
3) System-
What happened?
Update Manager has hanged at point where it must request user's password to gain root rights so it can proceed.
Actually, gksu has hanged.Update Manager resumed operation when gksu has been killed with task manager.Actually looks like one of these nasty gksu deadlocks.
Extra steps:
When Update Manager resumed operation, system has been updated and rebooted (as requested by updater).
Then I'd attempted to use Update Manager again.And it again hanged due to same issue aka gksu hanged invisible, no enter password dialog appeared.Looks like gksu fails to display dialog or it's invisible and Update Manager have to wait forever since it is impossible to enter user's password anyway.
description: | updated |
description: | updated |
Ubuntu Studio on a Sony PCG-GRT815M upgraded from earlier versions (at least 2 major upgrades)
in 8.04 I am having this same problem. However, I found that as a workaround, killing the sudo process and trying to perform the update again got the password prompt.
Today, after applying kernel patches etc from yesterday (27 May 2008) batch, now that workaround isn't working either.
trying to start update manager from a root shell gives "cannot connect to display". Which is fair enough I guess.
It looks to me like Synaptic is broken, I can't even start Synaptic in the administration window, it hangs too. and trying to start it in a shell gives "cannot open display"
I suppose I can work around this with playing with X but it might be helpful to check this. thanks