[systemd-devel] changed property value in signal
Lennart Poettering
lennart at poettering.net
Fri Jul 3 01:42:20 PDT 2015
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.
> - 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...
> - where do i see commit logs/ version history
Just check out the systemd git repository.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list