timedate: defer the property changed signal until job of starting/stopping NTP servic...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 22 Jul 2018 14:10:02 +0000 (23:10 +0900)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 20 Sep 2018 20:22:45 +0000 (21:22 +0100)
commitfbc60915b8ec507b78f000622f1f8ed7bfc89a44
tree27baedfd94c6b41aaec032e48b16135d594f4309
parent5f8fbd97fea7f2d3c5fa11db7128f10009d94225
timedate: defer the property changed signal until job of starting/stopping NTP service is finished

Before this, the property changed signal is emitted immediately after
StartUnit/StopUnit method is called. So, the running state of the NTP
client service may not updated.
This makes the timing of emitting property changed signal is deferred
until job of starting/stopping NTP client service is completed.

Fixes #9672.

(cherry picked from commit 3af0a96c0fcc623bd16649fc3640396a657cf9ef)

Gbp-Pq: Name timedate-defer-the-property-changed-signal-until-job-of-s.patch
src/timedate/timedated.c