<p dir="ltr">Hmm, didn't this get fixed in recent versions? I seem to remember that after the sd-bus port systemd started sending changed_properties with values, not just invalidated_properties...</p>
<p dir="ltr">-- <br>
Mantas Mikulėnas <<a href="mailto:grawity@gmail.com">grawity@gmail.com</a>><br>
// sent from phone</p>
<div class="gmail_quote">On Jun 11, 2014 12:59 PM,  <<a href="mailto:David.Yates@continental-corporation.com">David.Yates@continental-corporation.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="sans-serif">Hi,</font>
<br>
<br>
<br>
<br><font face="sans-serif">We have written a component that detects
failing units in the system. This registers for the PropertiesChanged signal,
to be notified whenever the ActiveState of a unit changes.</font>
<br>
<br><font face="sans-serif">However this signal is sent without
the property values. This can result in a problem when a unit is restarted
fast (i.e. RestartSec=0) because we miss the "FailedState" and
can not distinguish between a failed unit and a unit that was intentionally
stopped and restarted.</font>
<br>
<br><font face="sans-serif">We looked at using the InactiveEnterTimestamp
however there we also can not make the distinction.</font>
<br>
<br><font face="sans-serif">Does anyone have any ideas on how we
could handle this problem (i.e. other properties that could be used)?</font>
<br>
<br><font face="sans-serif">In case there is no solution we wondered
about introducing a new property (UnitFailedCount) to track the number
of failures within the current lifecycle. Any thoughts??</font>
<br>
<br>
<br>
<br>
<br><font face="sans-serif">Thanks</font>
<br>
<br>
<br><font face="sans-serif">Dave</font>
<br><font face="sans-serif"> </font>
<br>
<br><font face="sans-serif">Software Architect System Software<br>
<br>
I IC RD G SW SSW HKT<br>
Continental Automotive GmbH<br>
Interior Infotainment & Connectivity<br>
Philipsstrasse 1, 35576 Wetzlar, Germany<br>
<br>
Telefon/Phone: <a href="tel:%2B49%206441%20370-8289" value="+4964413708289" target="_blank">+49 6441 370-8289</a></font>
<br><font face="sans-serif">Mobile/Handy: <a href="tel:%2B49%20151%206522%209102" value="+4915165229102" target="_blank">+49 151 6522 9102</a></font><br>_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
<br></blockquote></div>