Before installing this update, any command called with gksu/gksudo would just hang without error message if /etc/hosts did not include my local machine name. I've originally worked around the original bug (#55172) by modifying the first line of /etc/hosts so that i reads "127.0.0.1 localhost johndoe-desktop", where johndoe-desktop is my machine name. Restoring the line to its original state brought the bug back, as expected.
After installing the proposed update, gksudo/gksu no longer hangs if my machine name is not included in /etc/hosts, so i would say that it works as intended. Instead of using "gksu id", i used "gksu gedit" for testing. P.S. There is something strange that i notice if i completely comment out my 127.0.0.1 line in /etc/hosts. Running gksu gedit still works and the gdit window appears as it should. But upon closing of gksu gedit, the following message appears in my terminal: Usage:program_name [address][:port]Usage:program_name [address][:port] Sometimes, this message is repeated several times. This does not occur if the line is not commented out. -- race condition when sudo can not resolve hostname https://bugs.launchpad.net/bugs/237325 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs