Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Nov 2016 11:26:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 206197] devel/dbus: help to identify & fix "Rejected send message" messages
Message-ID:  <bug-206197-6497-2Xpu1Km7SY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206197-6497@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206197

--- Comment #1 from Marko Cupać <marko.cupac@mimar.rs> ---
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,

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206197-6497-2Xpu1Km7SY>