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/>
References:  <bug-206197-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206197

--- Comment #1 from Marko Cupa=C4=87 <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=3D"method_call", sender=3D":1.14" (uid=3D1001 pid=3D879 comm=3D=
"")
interface=3D"org.freedesktop.ConsoleKit.Manager" member=3D"CanSuspend" error
name=3D"(unset)" requested_reply=3D"0" destination=3D":1.2" (uid=3D0 pid=3D=
759 comm=3D"")
Nov  4 12:17:21 mephala dbus[574]: [system] Rejected send message, 2 matched
rules; type=3D"method_call", sender=3D":1.14" (uid=3D1001 pid=3D879 comm=3D=
"")
interface=3D"org.freedesktop.ConsoleKit.Manager" member=3D"CanHibernate" er=
ror
name=3D"(unset)" requested_reply=3D"0" destination=3D":1.2" (uid=3D0 pid=3D=
759 comm=3D"")

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=3D"org.freedesktop.ConsoleKit"
  send_interface=3D"org.freedesktop.ConsoleKit.Manager"
  send_member=3D"CanSuspend"/>
<allow send_destination=3D"org.freedesktop.ConsoleKit"
  send_interface=3D"org.freedesktop.ConsoleKit.Manager"
  send_member=3D"CanHibernate"/>

I have no idea what these do. Could someone with knowledge of dbus look int=
o it
and - if true - confirm this is a good solution? Perhaps create patch for t=
he
next port revision?

Thank you in advance,

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



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