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)
committerFelipe Sateler <fsateler@debian.org>
Thu, 6 Dec 2018 00:03:34 +0000 (00:03 +0000)
commit601bac491bb1c71a51642b635870399967d9de0a
treed1b472b1f996df37c52aaef61a68c8d96bfbf4f0
parentc4bf8168c84ac059cd5781ca7e3e8f7f0df69a17
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