monitoring the system bus

Colin Walters walters at verbum.org
Fri Apr 23 08:56:10 PDT 2010


Dear internet dwellers,

Since I found myself needing to "dbus-monitor --system" again recently
and I'd forgotten how to make it work, I wanted to refresh the cached
knowledge on this topic.

Basically, create a file /etc/dbus-1/system.local with the contents:

<busconfig>
  <policy user="root">
    <allow send_destination="*" eavesdrop="true"/>
    <allow receive_sender="*" eavesdrop="true"/>
  </policy>
</busconfig>

killall -HUP dbus-daemon

This will get you some things, but for a reason I'm not entirely sure
doesn't appear to fully work until you restart the bus.  Will have to
debug that later.


More information about the dbus mailing list