-
Notifications
You must be signed in to change notification settings - Fork 157
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
manifest: Include systemd-resolved for F33 change #575
Conversation
What sort of "getting ready" does this change enable? I'm not sure if it makes sense to add the service but not switch over to using it. We might make that switch in advance of Fedora 33, if that makes sense, or at the same time as Fedora 33. |
You can switch to using systemd-resolved on Fedora Workstation right now if you want. It is a pretty easy change and I would like to start using on my FCOS deployments now to ensure I don't have any surprises later. |
Minor nit: our commit messages match Linux kernel style generally and usually have a "topic prefix" and no period at the end, and if you can succinctly describe why in the subject that's great too e.g. |
Also I'd really like to see us get in the habit of modifying the test cases as part of commits. It's really easy, for this one something like
to start. To run the test against your change, use e.g. |
Another thing on this topic - as extensively discussed on the list, this is a fairly profound change to the default network stack that is almost certainly going to have fallout. Now, it should be as easy as providing an ignition config to disable the unit, but we probably also want to be sanity testing that. |
Example fallout: I bet this will break this code. |
dd8952d
to
ff80b8c
Compare
@cgwalters Updated my PR with your suggestions. I don't have cosa or kola setup on my workstation. Aside from RTFM on those repos do you have any tips or documentation for getting this going easily for new contributors? |
And indeed the test failed:
I suspect the reason is that it's not enabled in the Fedora base presets? I see https://src.fedoraproject.org/rpms/fedora-release/c/c7ef1abb1f1732a261d75a11c9d5d585f73f7069?branch=master |
I need to dig in to the systemd-resolved change as part of coreos/fedora-coreos-tracker#609 anyway. Let me dig into this to understand it and come back with an informed response. |
Hmm right, agree we should probably just take this on as part of the next/f33 branch. When you do that PR, maybe cherry-pick in this patch? |
I think there are two points here:
|
I cherry-picked this patch into the "switch to F33" PR: #640
I'm not sure about that. We might need to check with the change owner. Though I imagine the initramfs doesn't matter too much as long as there is some basic DNS to grab a few files and then get to the real root. |
jlebon convinced me to apply most of my f33 changes to f32 but make them conditional (that way config bot can keep syncing between the two and we don't have to eventually do a large merge back from |
Just for clarity.. systemd-resolved is disabled by default in F32 and enabled by default in F33. We're not changing that with this PR, just now including the bits. |
This PR adds the systemd-resolved packages into FCOS. It is going to be used by default in Fedora 33 per this change request: https://fedoraproject.org/wiki/Changes/systemd-resolved Adding the systemd-resolved packages back in gets us ready for this change. It won't impact how DNS is configured or used and it lets users get ready for the change in Fedora 33.
ff80b8c
to
bb99d8d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commit was included in #646. Thanks @jdoss. I was going to merge this one individually but was convinced otherwise to prevent webhooks from going out and doing pipeline builds for state that we knew would fail tests. |
OWNERS: remove arithx
This PR adds the systemd-resolved packages into FCOS. It is going to be used by default in Fedora 33 per this change request: https://fedoraproject.org/wiki/Changes/systemd-resolved
Adding the systemd-resolved packages back in gets us ready for this change. It won't impact how DNS is configured or used and it let's users get ready for the change in Fedora 33.