Bug 2190375

Summary: Warn that ifcfg is deprecated and will not implement new features
Product: Red Hat Enterprise Linux 9 Reporter: Beniamino Galvani <bgalvani>
Component: NetworkManagerAssignee: NetworkManager Development Team <nm-team>
Status: CLOSED ERRATA QA Contact: Matej Berezny <mberezny>
Severity: unspecified Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: unspecified    
Version: 9.3CC: bgalvani, ferferna, lrintel, mberezny, nm-team, rkhan, sfaye, sukulkar, till, vbenes
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.43.11-1.el9 Doc Type: Enhancement
Doc Text:
.NetworkManager notifies when using the deprecated `ifcfg` format Connection profiles in `ifcfg` format are deprecated in RHEL 9 (see xref:BZ-1894877[]). With this update, NetworkManager notifies users about the deprecation of this format: * NetworkManager logs the following warning to the `systemd` journal if it processes a connection profile in `ifcfg` format in the `/etc/sysconfig/network-scripts/` directory: + ---- Warning: the ifcfg-rh plugin is deprecated, please migrate connections to the keyfile format using "nmcli connection migrate" ---- * The `nmcli` utility reports the following error if you try to modify a property that is not supported in `ifcfg` format: + ---- Error: Failed to modify connection '<name>': failed to update connection: The ifcfg-rh plugin doesn't support setting '<property>'. If you are modifying an existing connection profile saved in ifcfg-rh format, please migrate the connection to keyfile using 'nmcli connection migrate <connection_uuid>' or via the Update2() D-Bus API and try again. ---- As a result of these enhancements, NetworkManager now notifies users if they still use or modify connection profiles in the deprecated `ifcfg` format. For further details about migrating profiles from `ifcfg` to keyfile format, see link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/assembly_networkmanager-connection-profiles-in-keyfile-format_configuring-and-managing-networking#proc_migrating-networkmanager-profiles-from-ifcfg-to-keyfile-format_assembly_networkmanager-connection-profiles-in-keyfile-format[Migrating NetworkManager profiles from ifcfg to keyfile format].
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-07 08:38:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Beniamino Galvani 2023-04-28 07:59:34 UTC
Warn users that ifcfg-rh is deprecated and will not implement new features:

 - log a warning at startup if any profile exists in ifcfg-rh format

 - print error in nmcli when a property is not supported by ifcfg

Comment 12 errata-xmlrpc 2023-11-07 08:38:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6585