The description of changes to fedora says built in support for ifcfg files won't be installed by default but an "ifcfg sub-package" can be installed to support them.
After peering at "dnf search" results I finally found the actual name of the sub-package:
NetworkManager-initscripts-ifcfg-rh-1:1.36.4-1.fc36.x86_64
Now I finally have all my complicated bridges and wot-not back and network functioning as it did on f35.
I don't suppose there is an automated tool to convert complicated ifcfg files to NetworkManager keyfiles is there?
On 11 May 2022, at 19:34, Tom Horsley horsley1953@gmail.com wrote:
The description of changes to fedora says built in support for ifcfg files won't be installed by default but an "ifcfg sub-package" can be installed to support them.
After peering at "dnf search" results I finally found the actual name of the sub-package:
NetworkManager-initscripts-ifcfg-rh-1:1.36.4-1.fc36.x86_64
Now I finally have all my complicated bridges and wot-not back and network functioning as it did on f35.
I don't suppose there is an automated tool to convert complicated ifcfg files to NetworkManager keyfiles is there?
Yes there is a tool. See this article for details.
https://fedoramagazine.org/converting-networkmanager-from-ifcfg-to-keyfiles/
Barry
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On Wed, 11 May 2022 22:01:48 +0100 Barry wrote:
Yes there is a tool. See this article for details.
https://fedoramagazine.org/converting-networkmanager-from-ifcfg-to-keyfiles/
Thanks. Once I think everything is working I'll give this a try and see if everything still works the same.
Barry writes:
On 11 May 2022, at 19:34, Tom Horsley horsley1953@gmail.com wrote:
After peering at "dnf search" results I finally found the actual name of the sub-package:
NetworkManager-initscripts-ifcfg-rh-1:1.36.4-1.fc36.x86_64
Now I finally have all my complicated bridges and wot-not back and network functioning as it did on f35.
I don't suppose there is an automated tool to convert complicated ifcfg files to NetworkManager keyfiles is there?
Yes there is a tool. See this article for details.
<URL:https://fedoramagazine.org/converting-networkmanager-from-ifcfg-to- keyfiles/>https://fedoramagazine.org/converting-networkmanager-from-ifcfg-to- keyfiles/
That article says:
# Starting with Fedora Linux 36, the ifcfg support will no longer be present # in new installations. If you’re still using ifcfg files, do not worry — # the existing systems will keep it on upgrades. Nevertheless, you can still # decide to uninstall it and carry your configuration over to keyfiles. Keep # on reading to learn how.
However, Tom seems to be reporting that everything broke for him, until he hunted down the package and manually installed it.
Reading further into that article, I am informed about "nmcli connection migrate".
Checking my F35's man page, there's no mention of this option, so this appears to be new in F36.
So, the migration process appears to be:
1) Update F35 to F36
2) After a reboot things will be broken because ifcfg support is gone
3) Run "nmcli connection migrate" to restore network connectivity
Is this correct?
Many moons ago, before this was even recognizable in NM (IIRC), I managed to hack together a bridge for a qemu VM. It works, the guest seems to have no problem getting its IP address from my DHCP server. After reading that article:
$ nmcli -f TYPE,FILENAME,NAME conn TYPE FILENAME NAME bridge /etc/sysconfig/network-scripts/ifcfg-vnet0 Bridge vnet0 bridge /run/NetworkManager/system-connections/virbr0.nmconnection virbr0 ethernet /etc/sysconfig/network-scripts/ifcfg-eth0 System eth0 ethernet /etc/sysconfig/network-scripts/ifcfg-eth1 System eth1
So, what are the chances that my VM's network connectivity survives migration to F36?
It would be useful to have nmcli connection migrate functional in F35, to give me some kind of an advance warning…
On Wed, 11 May 2022 18:05:30 -0400 Sam Varshavchik wrote:
However, Tom seems to be reporting that everything broke for him, until he hunted down the package and manually installed it.
Only because I installed from scratch then tried to copy all the config files like I usually do. (I like to keep my working install intact and install in a different partition and get everything configured before switching to new version).
On another system I used dnf to do the upgrade from f35 to f36 and that one did automagically install the ifcfg plugin as part of the upgrade process.