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

Run services after time-sync.target #1145

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

frelon
Copy link
Contributor

@frelon frelon commented Dec 22, 2023

Change elemental-register-install and elemental-register-reset to run after systemd time-sync.target.

This is needed to have the correct time before trying to register using https certificates that are time sensitive.

We also enable the systemd-time-wait-sync service to wait until time is synced before time-sync.target is reached.

@frelon frelon force-pushed the register-after-timsync branch 2 times, most recently from d8c8ae1 to 7c569ce Compare December 22, 2023 10:35
Change elemental-register-install and elemental-register-reset to run
after systemd time-sync.target.

This is needed to have the correct time before trying to register using
https certificates that are time sensitive.

Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
@frelon frelon marked this pull request as ready for review January 5, 2024 09:42
@frelon frelon requested a review from a team as a code owner January 5, 2024 09:42
Copy link
Contributor

@anmazzotti anmazzotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

@frelon frelon merged commit d6c0b1c into rancher:main Jan 5, 2024
2 checks passed
@frelon frelon deleted the register-after-timsync branch January 17, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants