Bug 2128846

Summary: RFE: add wpa_supplicant to dracut-network (RHEL8)
Product: Red Hat Enterprise Linux 8 Reporter: Matthew Brown <mabrown>
Component: dracutAssignee: dracut-maint-list
Status: NEW --- QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.8CC: david.sastre, dtardon, pvalena
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Comment 5 David Tardon 2023-01-23 12:58:19 UTC
So, NM only invokes wpa_supplicant via D-Bus, as I supposed. Hence we'd have to backport dbus module (and run D-Bus in the initrd), which we don't want to do. What we could do, though, is to put wpa_supplicant into a separate module that'd only be included in the initrd if explicitly requested via configuration. Then only those who chose to use wpa_supplicant would get dbus.

Comment 7 Lukáš Nykrýn 2023-01-31 14:53:16 UTC
As David mentioned, we don't have dbus in rhel8 initrd and since we changed the implementation of dbus (dbus-daemon vs. dbus-broker) so adding it to rhel8 is not a trivial task.
Also, we don't run NM as a daemon in rhel8 which is yet another hurdle.
Maybe we could run wpa-supplicant manually before NM. But the main question, where to store the password. Initrd is never encrypted.