summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2019-01-21 13:33:40 +0800
committerLei YU <mine260309@gmail.com>2019-01-23 10:34:06 +0800
commita8741b56ecb9e5538b574554898679618570da63 (patch)
treededd75c5d5d7cbaa1aa9ef28cb2ee24d1f9d6ae0
parent4e84539349dac086ce2a58e5b9900ed4e40a2eaf (diff)
downloadphosphor-time-manager-a8741b56ecb9e5538b574554898679618570da63.tar.gz
phosphor-time-manager-a8741b56ecb9e5538b574554898679618570da63.zip
README: Add special note on NTP setting change
Systemd timedated from v236 to v239 introduces a behavior change related to setting time while NTP setting is changed. This change causes phosphor-time-manager automation test failure. Add a special note in README to describe the issue, and the test case will be updated. Partially resolves openbmc/openbmc#3459 Change-Id: I8ee31e8de95d8b110bf9cbee7973c377a6d4330a Signed-off-by: Lei YU <mine260309@gmail.com>
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3fefe12..a3fea5e 100644
--- a/README.md
+++ b/README.md
@@ -101,6 +101,19 @@ MANUAL | BOTH | OK | OK
https://${BMC_IP}/xyz/openbmc_project/time/owner/attr/TimeOwner
```
+### Special note on changing NTP setting
+Starting from OpenBMC 2.6 (with systemd v239), systemd's timedated introduces
+a new beahvior that it checks the NTP services' status during setting time,
+instead of checking the NTP setting:
+
+* When NTP server is set to disabled, and the NTP service is stopping but not
+ stopped, setting time will get an error.
+
+In OpenBMC 2.4 (with systemd v236), the above will always succeed.
+
+This results in [openbmc/openbmc#3459][1], and the related test cases are
+updated to cooperate with this behavior change.
+
### Special note on host on
When the host is on, the changes of the above time mode/owner are not applied but
deferred. The changes of the mode/owner are saved to persistent storage.
@@ -110,3 +123,6 @@ applied.
Note: A user can set the time mode and owner in the settings daemon at any time,
but the time manager applying them is governed by the above condition.
+
+
+[1]: https://github.com/openbmc/openbmc/issues/3459
OpenPOWER on IntegriCloud