chore!: drop support for ifcfg
Changes
Checklist
- [ ] I have tested it locally
- [ ] I have reviewed and updated any documentation if relevant
- [ ] I am providing new code and test(s) for it
Fixes #503
CC @dtardon and @steffen-maier
I believe this module is still used by Mageia, OpenMandriva, and SUSE at the moment, though I think at least OpenMandriva and SUSE are in the process of migrating to NetworkManager.
FYI @berolinux @dracut-ng/opensuse-maint
The last OpenMandriva release that still uses ifcfg, 5.0, is about to go EOL. No problem from our side.
SUSE uses (and will continue to use) 35network-legacy, but not 45ifcfg.
@aafeijoo-suse, correct me if I'm wrong.
SUSE uses (and will continue to use)
35network-legacy, but not45ifcfg.@aafeijoo-suse, correct me if I'm wrong.
Yes, you're right.
My understanding is that SUSE Framework One / SUSE Linux 16 platform will be using NetworkManager, but either way, we have confirmation that it isn't being used by SUSE platforms anymore.
My understanding is that SUSE Framework One / SUSE Linux 16 platform will be using NetworkManager
I was talking about current SLE.
@mwilck So you okay with us dropping this, or do you need it still?
ok for me.
I do not understand why we need to pull such a complex thing as NetworkManager and dbus into initrd...
I do not understand why we need to pull such a complex thing as NetworkManager and dbus into initrd...
I find it hard to find out what action is expected to be taken on this comment here upstream. Can you please file a bug and include additional information (such as https://abf.io/import/dracut/blob/rosa2023.1/0026-Revert-chore-drop-support-for-ifcfg.patch) on what actions you expect from upstream maintainers who are reading this comment. Thanks @mikhailnov .
I interpret @mikhailnov's comment as an argument against this PR. Some people are trying to simplify the initrd, and not everyone uses systemd; for these users, the simplest possible networking module makes some sense.
OTOH, this module has been unmaintained for some time, and @mikhailnov, you can re-add it in your environment if you need it. Therefore I still second this PR.
complex thing as NetworkManager and dbus ..
From this comment I led to believe that @mikhailnov believes that because ifcfg is now removed NetworkManager is the only remaining option for networking. This is not true. In addition to NetworkManager, network-legacy, systemd-networkd and perhaps also connman is still expected to work (and none of it has a hard dependency on ifcfg). See https://github.com/dracut-ng/dracut-ng/blob/main/modules.d/40network/module-setup.sh#L14