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)
committerMichael Biebl <biebl@debian.org>
Sun, 28 Oct 2018 12:02:18 +0000 (12:02 +0000)
commit905dcd5752ef3092b4f3dcab059c12c30bace14d
tree21eb4e6d820967d1ec3777c090a8bad2a1ceeea7
parenta8c9eee4e23e39b6eccb069fe3a66565dff223a3
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