Comment 5 for bug 231180

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote : Re: PolicyKit fails after restarting dbus (restarting all dbus services)

I am seeing this bug, too. Here is a summary:

 - because of dbus buggyness I have to restart it sometimes:

# /etc/init.d/dbus restart

(I know how to fix the mess afterward and how to get networkmanager working again :>)

 - one of the consequences is that two console-kit-daemon processes are running:

$ ps aux | grep console
root 6102 0.0 0.1 13140 2892 ? Ssl May26 0:14 /usr/sbin/console-kit-daemon
root 24182 0.0 0.0 8868 1956 ? Ssl 09:24 0:00 /usr/sbin/console-kit-daemon

(/etc/init.d/dbus starts the second one but fails to kill the first one)

 - the new console-kit-daemon process spams my syslog with the following messages (one message every 3 seconds !):

May 29 09:45:03 vougeot console-kit-daemon[24182]: WARNING: Failed to acquire org.freedesktop.ConsoleKit
May 29 09:45:03 vougeot console-kit-daemon[24182]: WARNING: Could not acquire name; will retry

There are at least 3 things to fix to improve the situation:

 1. fix the original dbus problem (I will report another bug for this...)
 2. have /etc/init.d/dbus kill old console-kit-daemon processes
 3. reduce the number of console-kit-daemon warning messages to one