Bug 2222150

Summary: nmcli --ask dev wifi connect <SSID> dumps core
Product: [Fedora] Fedora Reporter: Mike Landis <DarkSkyAnarchy>
Component: NetworkManagerAssignee: Lubomir Rintel <lkundrak>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 38CC: bgalvani, dcbw, ferferna, gnome-sig, jgrulich, kde-sig, liangwen12year, lkundrak, mclasen, rdieter, rstrode, than, vbubela
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mike Landis 2023-07-12 02:05:05 UTC
nmcli --version --> 1.42.8-1.fc38

Reproducible: Always

Steps to Reproduce:
1.unsure how to reproduce. Background: I have created two WiFi connections, one for 2.4GHz and one for 5Ghz.  I also have two LAN I/F. Every connection has 'extra' DNS defined with IPv4 DNS and the IPv4 only check box checked AND IPv6 with its own IPv6 DNS and the IPv6 check box checked.

I have PIA VPN installed, set to connect automatically. 

Earlier today I could run nmcli con show and see WiFi and both LAN addresses in green, but now with live Internet access, the 2.4GHz WiFi is 'brown', 5GHz and both LAN are yellow.  System Settings Connections thinks none of them are connected (though lo does show connected) with either a LAN or a WiFi 'connecting' forever.  'nmcli dev status' shows both LAN disconnected (in red) and the WiFi adapter in an infinite loop 'connecting (getting IP configuration)' in brown.  The router sees WiFi5 and a LAN connected, but the LAN MAC address doesn't match the MAC for either of the LAN adapters the machine knows about.
2.
3.
Actual Results:  
At the moment, I have Internet access via PIA VPN, but I don't know how.  I stopped running CLI WiFi connect because 1) It dumps core and forces a network restart; and 2) System Settings Connections remembers WiFi passwords and I'd rather not have to type it in everytime.

Expected Results:  
I'd like to get back to 'nmcli con show' knowing the correct status of the network adapters, at least correlating with what the router knows.  I'd like to know how the router sees a LAN MAC that the machine itself isn't aware of.  I'd like to get enough details in notifications or journal calls to attempt a fix.  I get warnings in the NetworkManager journal indicating that WiFi5 and both LAN activations failed.  For WiFi it says 'supplicant interface state: completed -> disconnected'; for each LAN it says: "state change failed -> disconnected (reason 'none', sys-iface-state: 'managed')"

I picked crashes as the severity below re: nmcli.  The rest, System Settings Connections and whatever else might be going on are merely Medium bugs that should be fixed.  I have core dumps, if you want one.

Comment 1 Rex Dieter 2023-07-13 16:28:29 UTC
Triaging to NetworkManager component (owner of nmcli)