Getting ready for PolicyKit 0.9

David Zeuthen david at fubar.dk
Thu Jul 10 08:37:14 PDT 2008


On Wed, 2008-07-09 at 21:57 +0200, Michael Biebl wrote:
> I checked the configure output, the installed files/directories and
> the README, and they all seem to be consistent now. The explanations
> in README are concise and well understandable. Nice work!

Great, thanks for looking through this. I appreciate it.

> On a completely different topic though:
> The error message, when CK doesn't return an active session, is suboptimal.
> Example: nm-connection-editor from NetworkManager 0.7 uses
> PolicyKit(-gnome) to modify system wide settings. If I kill the
> running console-kit-daemon instance (so ck-list-session returns
> nothing for the currently active user), I get the following error
> message (on the console) within nm-connection-editor:
> 
> [WARN 21823] polkit-action.c:211:polkit_action_set_action_id():
> polkit_action_validate_id (action_id)
>  Not built with -rdynamic so unable to print a backtrace
> 
> A normal user will not understand what the underlying problem is.
> 
> Imho it would be much better, if polkit-gnome-manager would show an
> understandable error dialog, that the current user is not listed as
> being active, with the adive to check the ConsoleKit installation and
> logout/login again.

Yeah, in general error messages should be more friendly so patches
welcome for that. However, it would be very weird if the CK daemon
wasn't running (your example includes killing it - why would you want to
do that?)

Thanks,
David




More information about the polkit-devel mailing list