I was debugging why x11/swaylock was not able to lock my screen anymore after a few minutes of inactivity and I found some interesting lines in my messages file:
To me it looks like sysutils/consolekit2 is messaging devel/dbus through the interface "org.freedesktop.ConsoleKit.Manager" using member "GetSession" but if I look into /usr/local/etc/dbus-1/system.d/ConsoleKit.conf there's no "GetSession" member anywhere to be found.
However, there are two instances of "GetSessions", one of which is actually under "org.freedesktop.ConsoleKit.Manager":
In short, I added to that file:
and terminated my labwc session and started another and no logs are present anymore (and, of course, my laptop idles and suspends as expected).
Anyone else? This looks too weird to be true...
Code:
Mar 16 12:07:14 tu45b-freebsd dbus-daemon[2025]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.4" (uid=1001 pid=2292 comm="swayidle -w timeout 300 swaylock -f -k -l -i ~/Pic") interface="org.freedesktop.ConsoleKit.Manager" member="GetSession" error name="(unset)" requested_reply="0" destination="org.freedesktop.ConsoleKit" (uid=0 pid=2179 comm="/usr/local/sbin/console-kit-daemon --no-daemon")
To me it looks like sysutils/consolekit2 is messaging devel/dbus through the interface "org.freedesktop.ConsoleKit.Manager" using member "GetSession" but if I look into /usr/local/etc/dbus-1/system.d/ConsoleKit.conf there's no "GetSession" member anywhere to be found.
However, there are two instances of "GetSessions", one of which is actually under "org.freedesktop.ConsoleKit.Manager":
Code:
<allow send_destination="org.freedesktop.ConsoleKit"
send_interface="org.freedesktop.ConsoleKit.Manager"
send_member="GetSessions"/>
In short, I added to that file:
Code:
<allow send_destination="org.freedesktop.ConsoleKit"
send_interface="org.freedesktop.ConsoleKit.Manager"
send_member="GetSession"/>
and terminated my labwc session and started another and no logs are present anymore (and, of course, my laptop idles and suspends as expected).
Anyone else? This looks too weird to be true...