Re: [systemd-devel] Monitoring services start event from kdbus with sd-bus API

2015-06-30 Thread Mantas Mikulėnas
First, are you actually switching your bus connection to monitor mode? In kdbus (and probably even in future DBus) there is a distinct monitor mode which must be enabled to capture other peers' bus traffic. Adding a match is not enough for that. Second, your approach won't work anyway. There

Re: [systemd-devel] Monitoring services start event from kdbus with sd-bus API

2015-06-30 Thread Simon McVittie
On 30/06/15 10:15, Thomas Schmidt wrote: r = sd_bus_add_match(bus, NULL, , do_something_callback, NULL); /* should not filter anything, I expect it triggers on any message */ Eavesdropping (adding match rules with AddMatch to receive messages that are neither a broadcast, nor directed to

[systemd-devel] Monitoring services start event from kdbus with sd-bus API

2015-06-30 Thread Thomas Schmidt
Hello, for an embedded project I’m implementing a bootsplash application which should as well display service names are starting. This is based on kdbus and uses the sd-bus API to communicate with systemd (for example boot process percentage property is polled). Now I try to monitor the kdbus