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

feat(al2): align dummy kernel mod options with newer systemd default #2115

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

ndbaker1
Copy link
Member

@ndbaker1 ndbaker1 commented Jan 9, 2025

Issue #, if available:

Description of changes:

the dummy kernel module default is to load one dummy0 interface. this behavior was changes in systemd v236+ to set numdummies=0 to avoid creating any dummy interfaces when loading the module.
https://github.com/systemd/systemd/blob/16ac586e5a77942bf1147bc9eae684d544ded88f/NEWS#L11139-L11144

this PR backports the feature to the AL2 build where the systemd version if v219

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

@ndbaker1 ndbaker1 changed the title feat: align dummy kernel mod with newer systemd default feat: align dummy kernel mod options with newer systemd default Jan 9, 2025
@ndbaker1
Copy link
Member Author

ndbaker1 commented Jan 9, 2025

/ci

Copy link
Contributor

github-actions bot commented Jan 9, 2025

@ndbaker1 roger that! I've dispatched a workflow. 👍

Copy link
Contributor

@ndbaker1 the workflow that you requested has completed. 🎉

AMI variantBuildTest
1.24 / al2success ✅success ✅
1.25 / al2success ✅success ✅
1.26 / al2success ✅success ✅
1.27 / al2success ✅success ✅
1.28 / al2success ✅success ✅
1.29 / al2success ✅success ✅
1.30 / al2success ✅success ✅
1.31 / al2success ✅success ✅

@cartermckinnon cartermckinnon merged commit 7fbf541 into awslabs:main Jan 10, 2025
11 checks passed
@cartermckinnon cartermckinnon changed the title feat: align dummy kernel mod options with newer systemd default feat(al2): align dummy kernel mod options with newer systemd default Jan 10, 2025
@ndbaker1 ndbaker1 deleted the no-dummy branch January 10, 2025 01:42
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