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

Require systemd v243+, recommend systemd v245+, test against systemd v245 #117

Merged
merged 2 commits into from
May 26, 2023

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented May 25, 2023

Summary

This makes existing requirements explicit, but doesn't increase them. Due to that, its not really breaking.

Changes

  • Explicitily fail on startup when systemd version <243
    This isn't breaking because v0.17 is already broken for systemd version <243 because the OOMPolicy config set in Don't kill the whole service when a single proces OOMs #101 was [introduced in systemd version 243] (systemd/systemd@afcfaa6) and makes user servers fail to start.
  • Warn on startup when systemd versions <245
    This is motivated by us only testing on systemd version 245.
  • Add tests against systemd version 245 in Ubuntu 20.04
    Version 245 is easy for us to test against, because its part of Ubuntu 20.04. Yuvi suggested testing against the second most newest ubuntu LTS release's systemd version, which is a perfect policy in my mind because of the environments provided by CI systems like GitHub Actions. In GitHub actions, Ubuntu 20.04 and 22.04 is available, but Ubuntu 18.04 isn't available any more and was removed a while after 22.04 had been added.

Related

@consideRatio consideRatio marked this pull request as draft May 25, 2023 14:29
@consideRatio consideRatio changed the title docs: recommend systemd 245+, require systemd 235+, list some Linux distros Recommend systemd 245+, require systemd 235+ May 25, 2023
@consideRatio consideRatio requested a review from manics May 25, 2023 15:17
@consideRatio consideRatio marked this pull request as ready for review May 25, 2023 15:17
@consideRatio consideRatio changed the title Recommend systemd 245+, require systemd 235+ Recommend systemd 245+, require systemd 243+ May 25, 2023
@consideRatio consideRatio changed the title Recommend systemd 245+, require systemd 243+ Recommend systemd 245+, require systemd 243+ (v0.17 requires 243+ already!) May 25, 2023
@consideRatio consideRatio changed the title Recommend systemd 245+, require systemd 243+ (v0.17 requires 243+ already!) Recommend systemd 245+, require systemd 243+ (v0.17 requires 243+) May 25, 2023
@consideRatio consideRatio changed the title Recommend systemd 245+, require systemd 243+ (v0.17 requires 243+) Recommend systemd 245+, require systemd 243+ (v0.17 broken without 243+) May 25, 2023
This was referenced May 25, 2023
@consideRatio consideRatio changed the title Recommend systemd 245+, require systemd 243+ (v0.17 broken without 243+) Require systemd v243+, recommend systemd v245+, test against systemd v245 May 26, 2023
We should test against ubuntu's second most recent LTS release, or
lower.
@yuvipanda yuvipanda merged commit c03fbbd into jupyterhub:main May 26, 2023
@consideRatio consideRatio self-assigned this Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants