monitoring the system bus

Lennart Poettering mzqohf at 0pointer.de
Sat Apr 24 07:39:37 PDT 2010


On Fri, 23.04.10 11:56, Colin Walters (walters at verbum.org) wrote:

> 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.

Now all we need is that we can hook wireshark up to this...

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the dbus mailing list