Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NTP service ordering #6115

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

PrabhuSreenivasan
Copy link
Contributor

Signed-off-by: Prabhu Sreenivasan [email protected]

- Why I did it
Make sure ntp-config service is executed before ntpd

- How I did it
Updated ntp-config service files to force dependency with ntp service. Also resolved circular dependency with --no-block flag. (needed as ntp-config service internally invokes systemd to restart ntp which in turn waits for ntp-config to complete)

- How to verify it
Existing ntp pytest.

- Which release branch to backport (provide reason below if selected)

- Description for the changelog
Adjusted the ordering of ntp-config service to run before ntp service.
Avoided circular dependency due to above change with --no-block flag

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Prabhu Sreenivasan <[email protected]>
PrabhuSreenivasan pushed a commit to PrabhuSreenivasan/sonic-buildimage that referenced this pull request Dec 3, 2020
@lguohan lguohan merged commit 2895b79 into sonic-net:master Dec 4, 2020
@PrabhuSreenivasan PrabhuSreenivasan deleted the ntp_service_ordering branch December 23, 2020 15:59
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
Make sure ntp-config service is executed before ntpd

Updated ntp-config service files to force dependency with ntp service. Also resolved circular dependency with --no-block flag. (needed as ntp-config service internally invokes systemd to restart ntp which in turn waits for ntp-config to complete)

Signed-off-by: Prabhu Sreenivasan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants