Problem
A system which was using networking scripts and ifcfg on Fedora 40 is left completely without a way to setup network from configs after upgrade to Fedora 41.
Cause
Network-scripts were removed in Fedora 41 with a “failover” to use NetworkManager ifcfg-rh plugin, but at the same time the ifcfg-rh support was completely removed from NetworkManager in Fedora 41 as well.
Related Issues
Bugzilla report: #2365508
Workarounds
Before upgrade to Fedora 41
Before upgrade to Fedora 41 convert your ifcfg configs to NM keyfiles - it should be enought to install and enable NetworkManager
systemctl enable NetworkManager
make sure the NetworkManager.conf has a ifcfg-rh plugin enabled
[main]
plugins=keyfile,ifcfg-rh
disable networking
systemctl disable network
and let NM migrate the configs (reboot).
After upgrade to Fedora 41
If you are left already without configured interfaces on Fedora 41 you can use a copr for NM with ifcfg support, but this is usually hard as without network you can not easily download anything. If you get the NM with ifcfg support, the steps to fix this are the same as for Fedora 40.