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.
(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