Bug 2192573 - systemd-network-generator.service fails - "Failed to start Generate network units from Kernel command line"
Summary: systemd-network-generator.service fails - "Failed to start Generate network u...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: systemd
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-02 10:23 UTC by Yurii Prokulevych
Modified: 2023-06-13 08:01 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github systemd systemd issues 27944 0 None open systemd-network-generator support for ip=NIC:dhcp,dhcp6 2023-08-16 13:08:54 UTC
Red Hat Issue Tracker RHELPLAN-156191 0 None None None 2023-05-02 10:26:11 UTC

Comment 5 Michal Sekletar 2023-05-02 14:21:44 UTC
Having systemd-network-generator in RHEL-9 is a mistake. We even don't compile networkd hence shipping the service that generates config files for networkd is pointless. I'd have thought that -Dnetwork=false option would also disable compilation of systemd-network-generator. In any case, we should drop it from RHEL.

Comment 6 Dusty Mabe 2023-06-06 20:10:46 UTC
(In reply to Michal Sekletar from comment #5)
> Having systemd-network-generator in RHEL-9 is a mistake. We even don't
> compile networkd hence shipping the service that generates config files for
> networkd is pointless. I'd have thought that -Dnetwork=false option would
> also disable compilation of systemd-network-generator. In any case, we
> should drop it from RHEL.

I think it may be a bit premature to drop it from RHEL9. We need the udev parts of systemd-network-generator.service. 

This is also reported against OpenShift in JIRA in https://issues.redhat.com/browse/OCPBUGS-12867

I opened two upstream issues related to this (sorry I didn't see this bug first):

- systemd-network-generator support for ip=NIC:dhcp,dhcp6
    - https://github.com/systemd/systemd/issues/27944
- network-generator: split out udev pieces from systemd-network-generator
    - https://github.com/systemd/systemd/issues/27945


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