Bug#486083: [patch] add small usleep

NoOp glgxg at sbcglobal.net
Fri Jun 13 16:22:46 UTC 2008


On 06/13/2008 01:14 AM, Michael Vogt wrote:
> Package: libgksu2-0
> Version: 2.0.5-1ubuntu5.1
> Severity: wishlist
> Tags: patch
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu hardy ubuntu-patch
> 
> Hi,
> 
> attached is a small patch that adds a usleep() when gksu waits for the
> sudo output. We had the problem that sudo hanged when the user had a
> unresolvable local hostname and sudo would output "can not resolve
> hostname" before the password prompt. The usleep fixes it (see
> launchpad bug #237325).
> 
> Cheers,
>  Michael
> 

I wonder if that will also help resolve some of these:

https://bugs.launchpad.net/ubuntu/+source/xubuntu-meta/+bug/194496
https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/187982





More information about the ubuntu-users mailing list