Bug 1978316 - Deprecation of ifcfg files may require action for s390utils' udev rule
Summary: Deprecation of ifcfg files may require action for s390utils' udev rule
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: s390utils
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Dan Horák
QA Contact: Vilém Maršík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-01 14:23 UTC by Thomas Haller
Modified: 2023-01-01 07:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-01 07:27:44 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thomas Haller 2021-07-01 14:23:55 UTC
s390utils ships a udev rule and a script that reads ifcfg files and configures the interface ([1]).

http://pkgs.devel.redhat.com/cgit/rpms/s390utils/tree/ccw_init?id=5871612e5a2a6397914e6c5564814dd146da8a62



On RHEL8, "network-scripts" (the `network.service` from "initscripts" package) is already deprecated.

On RHEL9, NetworkManager will stop writing ifcfg file by default, see bug 1894877.



This may require action from s390utils to do something, or at least to discuss, document and investigate potential problems.

Comment 1 Thomas Haller 2021-07-01 14:34:31 UTC
ah, I missed that on RHEL9 this already changed:

http://pkgs.devel.redhat.com/cgit/rpms/s390utils/tree/ccw_init?id=2ade7f47aa718238a50b44a4f3a4a75ab873715f#n40

Sorry about that.



So, I guess this is already under control/fixed?




It does however make me wonder whether a (udev) shell script "grepping" through NetworkManager configuration is the right solution? Is there are reason this is done by udev, and not NetworkManager? At least, the setting of the "OPTIONS=" could be done by NetworkManager, or why not?

Note that in a similar vain, udev's rename_interfaces (which currently parses ifcfg files), won't be updated to parse keyfiles (bug 1851279).

Comment 2 Dan Horák 2021-07-01 14:53:55 UTC
IIRC we had to update the network interface initialization for the installer environment, because it started to use keyfiles already. So we should be safe. But your questions make sense and I will prepare a meaningful answer. Or perhaps it will be a start of a new discussion.

Comment 3 Julian Wiedmann 2021-07-08 14:08:30 UTC
What's still missing for full compatibility is that ccw_init needs to extract all the other s390-options (except for 'layer2') from the NM keyfile. Correct Dan?

Comment 4 Dan Horák 2021-07-27 12:54:35 UTC
(In reply to Julian Wiedmann from comment #3)
> What's still missing for full compatibility is that ccw_init needs to
> extract all the other s390-options (except for 'layer2') from the NM
> keyfile. Correct Dan?

I believe that's right, only the layer2 option is extracted/used now. And IIRC I had quite hard time to find an "ini files" parser for shell.

Comment 8 RHEL Program Management 2023-01-01 07:27:44 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


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