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>
Fri, 7 Sep 2018 06:41:12 +0000 (07:41 +0100)
commit43eebc30e184ffb282df91a1de70662d3d76fd46
tree1f83d2060c8eeeb4ec84f849a8ae92c9a91e3f7d
parent7451a87ba7cfae19ec02c6c93d6df2e980b1297e
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