Polkit 0.104 daemon not running
Dâniel Fraga
fragabr at gmail.com
Mon Mar 19 13:27:42 PDT 2012
Hi, I searched Google trying to solve this problem, but I
couldn't find a solution.
I need polkit in order to make udisks work. So I installed
everything... but polkitd can't be run by dbus.
When I try to run it by hand:
fraga at tux ~/src$ sudo /usr/local/libexec/polkitd
Password:
Entering main event loop
Lost the name org.freedesktop.PolicyKit1 - exiting
Shutting down
Exiting with code 0
****
"Lost the name org.freedesktop.PolicyKit1"?
But everything is in place:
fraga at tux /usr/local/share/dbus-1/system-services$ cat org.freedesktop.PolicyKit1.service
[D-BUS Service]
Name=org.freedesktop.PolicyKit1
Exec=/usr/local/libexec/polkitd --no-debug
User=root
**********************************
fraga at tux /usr/local/etc/dbus-1/system.d$ cat org.freedesktop.PolicyKit1.conf
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="org.freedesktop.PolicyKit1"/>
</policy>
<policy context="default">
<allow send_destination="org.freedesktop.PolicyKit1"/>
</policy>
<!-- Allow uid 0 to send messages on the org.freedesktop.PolicyKit1.AuthenticationAgent interface -->
<policy user="root">
<allow send_interface="org.freedesktop.PolicyKit1.AuthenticationAgent"/>
</policy>
</busconfig>
**********************************
I don't understand why it doesn't run.
thanks.
--
Linux 3.2.2: Saber-toothed Squirrel
http://www.youtube.com/DanielFragaBR
More information about the polkit-devel
mailing list