Polkit1

David Zeuthen david at fubar.dk
Tue Jul 14 08:27:32 PDT 2009


Hey,

On Tue, 2009-07-14 at 00:07 +0200, Dario Freddi wrote:
> Enough, I'd say ;) But I'm here, shall you need some more infos.

Not sure what's going on here, 

FWIW, I configure the sources like this

 $ CFLAGS="-O0 -g" ./autogen.sh --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --libdir=/usr/lib64

and then things just work when doing 'make && sudo make install'. Note
that there's a bug in the D-Bus daemon so you might need 'sudo killall
-HUP dbus-daemon' to make it pick up the .service / .conf files.

The daemon should be started automatically but you can also start it
manually, the output should be like in [1]. Make sure you've killed
existing instances of polkitd-1 since there's no --replace option just
yet.

You might also try getting packages from your vendor. Fedora has version
0.92 in the Rawhide repos, don't know about other distros but I think
Ubuntu also has this packaged up and working in their latest development
tree (I guess this is so since Martin Pitt from Canonical is sending
bugs/patches my way for software that depends on a new PolicyKit
version).

Hope this helps,
David

[1] :

 # ./polkitd-1 
 Registering null backend at priority -10
 
 (process:3755): GLib-GIO-WARNING **: g_simple_async_result_complete()
called from outside main loop!

 (process:3755): GLib-GIO-WARNING **: g_simple_async_result_complete()
called from outside main loop!
 Using authority class PolkitBackendLocalAuthority

 (process:3755): GLib-GIO-WARNING **: g_simple_async_result_complete()
called from outside main loop!
 ** (process:3755): DEBUG: Added authentication agent for
session /org/freedesktop/ConsoleKit/Session2 at name :1.73, object
path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8

FWIW, the GIO warnings are probably bugs in current GLib development
tree - haven't gotten around to investigating what's up with that...




More information about the polkit-devel mailing list