RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2190375 - Warn that ifcfg is deprecated and will not implement new features
Summary: Warn that ifcfg is deprecated and will not implement new features
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: NetworkManager
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: NetworkManager Development Team
QA Contact: Matej Berezny
Marc Muehlfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-28 07:59 UTC by Beniamino Galvani
Modified: 2023-11-07 10:12 UTC (History)
10 users (show)

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].
Clone Of:
Environment:
Last Closed: 2023-11-07 08:38:04 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NMT-502 0 None None None 2023-04-28 08:02:04 UTC
Red Hat Issue Tracker RHELPLAN-156016 0 None None None 2023-04-28 08:02:09 UTC
Red Hat Product Errata RHBA-2023:6585 0 None None None 2023-11-07 08:38:44 UTC
freedesktop.org Gitlab NetworkManager NetworkManager-ci merge_requests 1464 0 None opened general: added ifcfg_deprecated_log_warning test 2023-07-24 15:17:13 UTC
freedesktop.org Gitlab NetworkManager NetworkManager merge_requests 1570 0 None merged Deprecate the ifcfg-rh setting plugin 2023-07-05 09:18:26 UTC

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


Note You need to log in before you can comment on or make changes to this bug.