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

overlay/dracut: omit ifcfg module #2642

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Sep 29, 2023

It's been a while since we've moved to only propagating NM keyfiles from the initrd to the real root, so we no longer need this module.

It currently still gets pulled in due to the /etc/sysconfig/network- scripts directory existing in the real root (which contains a README by default).

There's a patch upstream to make it purely opt-in[1], but for now let's just explicitly opt out ourselves.

(Note this has no impact on whether ifcfg in the real root is supported, which it still is in RHCOS. It just stops uselessly generating ifcfg files in the initrd.)

It's been a while since we've moved to only propagating NM keyfiles from
the initrd to the real root, so we no longer need this module.

It currently still gets pulled in due to the `/etc/sysconfig/network-
scripts` directory existing in the real root (which contains a README
by default).

There's a patch upstream to make it purely opt-in[[1]], but for now let's just
explicitly opt out ourselves.

(Note this has no impact on whether ifcfg in the real root is supported,
which it still is in RHCOS. It just stops uselessly generating ifcfg
files in the initrd.)

[1]: dracutdevs/dracut#2529
jlebon added a commit to jlebon/os that referenced this pull request Sep 29, 2023
It's included by default currently so we don't need this. A patch in FCOS
will actually make it so that we don't pull it in at all:
coreos/fedora-coreos-config#2642

Part of the move away `initramfs-args`, which is deprecated:
coreos/rpm-ostree#3834
@HuijingHei HuijingHei merged commit db3b5c5 into coreos:testing-devel Oct 13, 2023
2 checks passed
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.

3 participants