Bug 2222150 - nmcli --ask dev wifi connect <SSID> dumps core
Summary: nmcli --ask dev wifi connect <SSID> dumps core
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 38
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-12 02:05 UTC by Mike Landis
Modified: 2024-05-28 13:26 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-28 13:26:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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)

Comment 2 Aoife Moloney 2024-05-28 13:26:30 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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