GNOME Bugzilla – Bug 578037
Shouldn't use default Dbus timeout in calls to Policykit agent
Last modified: 2009-08-19 16:29:05 UTC
Please describe the problem: gnome-system-tools currently uses the default DBus timeout when communicating with polkit-gnome-manager. On Ubuntu, this is only 10 seconds (I don't know what it is on other distributions), which can cause the call to timeout for some users before they even entered their password. Steps to reproduce: 1. Open users-admin 2. Click "Unlock" 3. Leave the dialog open for 10 seconds Actual results: The Dbus call times out, and an error appears. The user then has to close the existing polkit-gnome-manager dialog and try again. Expected results: The call should not timeout for a long time. No reply is expected until the user entered their password anyway. Does this happen every time? Yes Other information:
Created attachment 132134 [details] [review] Patch applied in Ubuntu This is the patch currently applied in Ubuntu 9.04
The patch looks good to me. See: http://dbus.freedesktop.org/doc/api/html/group__DBusConnection.html#ga951b2a6f6c4069fa392752000b24ebe For the specifics on the call (but INT_MAX is correct).
Pushed as 8ac967dfcdd00313fa061550e4a92789e8ed3cb3. Thanks for the patch, it should be included in GNOME 2.27.6.
*** Bug 557572 has been marked as a duplicate of this bug. ***