polkit does not start
    srussell at prodigeinfo.qc.ca 
    srussell at prodigeinfo.qc.ca
       
    Thu Jan  8 09:45:05 PST 2015
    
    
  
I had the same problem and had to give up. Dbus logs are saying that no 
valid external protocols were found.
REJECTED EXTERNAL DBUS_COOKIE_SHA1 ANONYMOUS
498557: [dbus-auth.c(1704):handle_auth] server: Trying mechanism 
EXTERNAL
498557: [dbus-auth.c(1624):process_data] server: data: '4294967295'
498557: [dbus-auth.c(1026):handle_server_data_external_mech] server: no 
credentials, mechanism EXTERNAL can't authenticate
498557: [dbus-auth.c(430):shutdown_mech] server: Shutting down mechanism 
EXTERNAL
It happens only for the system dbus. I made some reseach and it occurs 
when dbus is trying to reserve the name of a service. Gio returns:
Lost the name [...] on session bus.
I verified the pam confiruration and it looked ok.
Overall:
-upowerd crashes
-ConsoleKit can't make a session active
-X login is freezing a minute or two
-The session menu of xfce is freezing also for some time
-any logoff from xfve is freezing temporarilly and leaves some 
applications opened.
I spent a lot of time trying to figure out the problem, but I had to 
give up. My workaround was to disable the global dbus service. Dbus is 
still available for applications, but I think that dports is disabling 
it for applications as well, when possible.
SR
Le 2015-01-08 10:50, karu.pruun a écrit :
     Hello
     I seem to have troubles getting polkit working. I have in 
/etc/rc.conf
     ---/etc/rc.conf---
     hald_enable="YES"
     dbus_enable="YES"
     --- ---
     and this combination results in dbus, hald and consolekit services
     running, but polkitd fails
     ---/var/log/messages---
     Jan  8 17:42:55 dfly dbus[984]: [system] Activating service
     name='org.freedesktop.ConsoleKit' (using servicehelper)
     Jan  8 17:42:55 dfly console-kit-daemon[1010]: WARNING:
     polkit_authority_get: Error getting authority: Error initializing
     authority: Exhausted all available authentication mechanisms (tried:
     EXTERNAL, DBUS_COOKIE_SHA1, ANONYMOUS) (available: EXTERNAL,
     DBUS_COOKIE_SHA1, ANONYMOUS)
     --- ---
     I ran a quick test on a FreeBSD virtual machine, the above two lines
     in rc.conf start dbus, hald, consolekit and polkitd and all seems
     fine. I wonder if I've missed anything on DragonFly?
     Cheers
     Peeter
     --
    
    
More information about the Users
mailing list