[systemd-devel] changed property value in signal

Pradeepa Kumar cdpradeepa at gmail.com
Fri Jul 3 02:42:43 PDT 2015


please see my response inline

On Fri, Jul 3, 2015 at 2:12 PM, Lennart Poettering <lennart at poettering.net>
wrote:

> On Thu, 02.07.15 10:18, Pradeepa Kumar (cdpradeepa at gmail.com) wrote:
>
> > hi
> > I am new to systemd.
> > I am using systemd 208, libdbus-1-3_1.4.18-1ubuntu1.4_i386.deb
> > I am to monitor unit stop/failure in my application .
> > So I am subscribing to propertiesChanged signal and paring SubState.
> > The propertieschanged message contains a dictionary and invalidated  list
> > of properties.
> > But the dictionary is empty(which is supposed to contain new value of
> > changed properties), so i am left with querying new values of the changed
> > property from list of invalidated properties list.
> >
> > - please let me know how do i get new values in the signal msg
> >   itself
>
> you don't. We just invalidate the props, you have to query them
> aftwards yourself, to determine the new value.

 Prad>>  But in online, i see some example of dbus-monitor command where
output has a dictionary- which contains properties and new values.
I want same output. how do i get that??

>
> > - is this issue fixed.? if yes in which version? which version i need to
> > upgrade
>
> We take the liberty to invalidate some props and send the full value
> of others along. it's not considered api really which prop gets which
> behaviour...
>

Prad>> I did not understand this comment
Can you please explain


> > - where do i see commit logs/ version history
>
> Just check out the systemd git repository.
>
> Lennart
>
> --
> Lennart Poettering, Red Hat
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150703/015d34d4/attachment.html>


More information about the systemd-devel mailing list