Bug 1698495
| Summary: | nmcli crashing when upping gsm connection | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Vladimir Benes <vbenes> | ||||||
| Component: | NetworkManager | Assignee: | Beniamino Galvani <bgalvani> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 7.7 | CC: | atragler, bgalvani, fgiudici, lrintel, pgeorgie, rkhan, sukulkar, thaller | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | NetworkManager-1.18.0-1.el7 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2019-08-06 13:16:56 UTC | 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Vladimir Benes
2019-04-10 13:26:08 UTC
Created attachment 1554276 [details]
[PATCH] clients: fix assertion when requesting gsm pin secret
(In reply to Beniamino Galvani from comment #3) > Created attachment 1554276 [details] > [PATCH] clients: fix assertion when requesting gsm pin secret lgtm. Note that the commit message says "Fixes: 0601b5d725b0", but the bug was already there from the beginning: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=3bda3fb60c104114192e4e3c9c4ba0bef84d3a00 -- namely, that this had "secret=FALSE", while it is a secret. Only now with the assertion it breaks. Amended commit message and applied: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/commit/a94ccc9acc47f08943f017a5040abeb05afee183 Created attachment 1565265 [details]
Log from NetworkManager
TEST SETUP
Distro: RHEL-7.7-20190502.1
Testing machine: gsm-r6s16-01.wlan.rhts.eng.bos.redhat.com
Broadband modem: Zoom 4995
Component version:
kernel-3.10.0-1040.el7.x86_64
NetworkManager-1.18.0-1.el7.x86_64
ModemManager-1.6.10-1.el7.x86_64
TEST PROCEDURE
# nmcli dev
DEVICE TYPE STATE CONNECTION
eth0 ethernet connected System eth0
ttyUSB2 gsm disconnected --
# nmcli connection add type gsm ifname \* con-name gsm apn internet
Connection 'gsm' (695ed2b9-084a-4a58-aab6-c35f8b30925a) successfully added.
# nmcli connection up id gsm
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/3)
RESULT
Upgrading component: component_name
from: 1.18.0-0.3.20190408git43d9187c14.el7
to: 1.18.0-1.el7
has fixed the bug.
TEST PROCEDURE 2 1. The gsm connection already exists in NetworkManager. 2. Assign a PIN code to the SIM card. 3. Reboot the testing machine (or disconnect the modem manually). 4. Activate the connection by entering the PIN: # nmcli --ask connection up id gsm PIN code is needed for the mobile broadband device PIN (gsm.pin): •••• 5. Show active connections: # nmcli con show NAME UUID TYPE DEVICE System eth0 c6d197fc-3e10-49fe-b78d-d70fabb722f9 ethernet eth0 gsm 53d11896-2092-48a8-b667-a86587600d0e gsm ttyUSB2 RESULT There are no errors. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2302 |