Hi, I have bunch of dbus-related messages in my syslog. How can I fix them? This is FreeBSD 10.2-RELEASE-p8 on physical hardware. Here are the actual messages: pacija@mephala:~ % cat /var/log/messages | grep dbus | grep Rejected Jan 11 13:11:18 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.32" (uid=1001 pid=1093 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:11:18 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.32" (uid=1001 pid=1093 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanHibernate" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:11:21 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.46" (uid=92 pid=1305 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:11:22 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.46" (uid=92 pid=1305 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:11:22 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.46" (uid=92 pid=1305 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:11:22 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.46" (uid=92 pid=1305 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:11:22 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.46" (uid=92 pid=1305 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:11:22 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.46" (uid=92 pid=1305 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:11:22 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.46" (uid=92 pid=1305 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:11:28 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.46" (uid=92 pid=1305 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:11:28 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.46" (uid=92 pid=1305 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:12:20 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.54" (uid=1001 pid=1359 comm="xfce4-power-manager --restart --sm-client-id 2b5ab") interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:12:20 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.54" (uid=1001 pid=1359 comm="xfce4-power-manager --restart --sm-client-id 2b5ab") interface="org.freedesktop.ConsoleKit.Manager" member="CanHibernate" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:12:20 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.55" (uid=1001 pid=1337 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 11 13:12:20 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.55" (uid=1001 pid=1337 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanHibernate" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:55:47 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.55" (uid=1001 pid=1337 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:55:47 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.55" (uid=1001 pid=1337 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanHibernate" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:55:52 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.70" (uid=92 pid=7207 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:55:53 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.70" (uid=92 pid=7207 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:55:53 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.70" (uid=92 pid=7207 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:55:53 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.70" (uid=92 pid=7207 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:55:53 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.70" (uid=92 pid=7207 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:55:53 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.70" (uid=92 pid=7207 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:55:53 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.70" (uid=92 pid=7207 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:56:01 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.70" (uid=92 pid=7207 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:56:01 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.70" (uid=92 pid=7207 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:56:30 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.74" (uid=1001 pid=7262 comm="xfce4-power-manager --restart --sm-client-id 272a1") interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:56:30 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.74" (uid=1001 pid=7262 comm="xfce4-power-manager --restart --sm-client-id 272a1") interface="org.freedesktop.ConsoleKit.Manager" member="CanHibernate" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:56:51 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.79" (uid=1001 pid=7239 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 10:56:51 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.79" (uid=1001 pid=7239 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanHibernate" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:24:05 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.79" (uid=1001 pid=7239 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:24:05 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.79" (uid=1001 pid=7239 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanHibernate" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:24:09 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.90" (uid=92 pid=7575 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:24:10 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.90" (uid=92 pid=7575 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:24:10 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.90" (uid=92 pid=7575 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:24:10 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.90" (uid=92 pid=7575 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:24:10 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.90" (uid=92 pid=7575 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:24:10 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.90" (uid=92 pid=7575 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:24:10 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.90" (uid=92 pid=7575 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:24:22 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.90" (uid=92 pid=7575 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:24:22 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.90" (uid=92 pid=7575 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:25:07 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.98" (uid=1001 pid=7645 comm="xfce4-power-manager ") interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:25:07 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.98" (uid=1001 pid=7645 comm="xfce4-power-manager ") interface="org.freedesktop.ConsoleKit.Manager" member="CanHibernate" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:25:08 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.99" (uid=1001 pid=7607 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") Jan 13 12:25:08 mephala dbus[702]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.99" (uid=1001 pid=7607 comm="xfce4-session ") interface="org.freedesktop.ConsoleKit.Manager" member="CanHibernate" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=723 comm="/usr/local/sbin/console-kit-daemon --no-daemon ")
In the meantime I moved to 11.0-RELEASE, installed from scratch, and am currently at: pacija@mephala:~ % freebsd-version -ku 11.0-RELEASE-p2 11.0-RELEASE-p3 dbus and consolekit are at: dbus-1.8.20 consolekit-0.4.5_4 I am still getting these messages: Nov 4 12:17:21 mephala dbus[574]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.14" (uid=1001 pid=879 comm="") interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" error name="(unset)" requested_reply="0" destination=":1.2" (uid=0 pid=759 comm="") Nov 4 12:17:21 mephala dbus[574]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.14" (uid=1001 pid=879 comm="") interface="org.freedesktop.ConsoleKit.Manager" member="CanHibernate" error name="(unset)" requested_reply="0" destination=":1.2" (uid=0 pid=759 comm="") Searching around the web I found the following page: http://www.ne-g.sakura.ne.jp/freebsd/20161030-04.html ...which says the solution is to add the following lines to ConsoleKit.conf: <allow send_destination="org.freedesktop.ConsoleKit" send_interface="org.freedesktop.ConsoleKit.Manager" send_member="CanSuspend"/> <allow send_destination="org.freedesktop.ConsoleKit" send_interface="org.freedesktop.ConsoleKit.Manager" send_member="CanHibernate"/> I have no idea what these do. Could someone with knowledge of dbus look into it and - if true - confirm this is a good solution? Perhaps create patch for the next port revision? Thank you in advance,
Maintainer feedback?
It's not clear if devel/dbus is at fault here. It seems like a consolekit issue, but we have consolekit2-1.2.1 now. I don't see any messages of that kind here, so I suspect some kind of misconfiguration of the system or maybe the problem has gone away at some point. The bug hasn't been updated since 2016, so I'm closing this.