diff options
author | Lei YU <mine260309@gmail.com> | 2019-01-21 13:33:40 +0800 |
---|---|---|
committer | Lei YU <mine260309@gmail.com> | 2019-01-23 10:34:06 +0800 |
commit | a8741b56ecb9e5538b574554898679618570da63 (patch) | |
tree | dedd75c5d5d7cbaa1aa9ef28cb2ee24d1f9d6ae0 | |
parent | 4e84539349dac086ce2a58e5b9900ed4e40a2eaf (diff) | |
download | phosphor-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.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 |