Red Hat Bugzilla – Bug 1460527
Spurious device name in the output of nmcli device wifi subcommands
Last modified: 2017-08-01 05:30:33 EDT
Description of problem: When running one of: nmcli device wifi list ifname wlan0 nmcli device wifi connect <SSID> ifname wlan0 nmcli wrongly adds the device name to the output. This can break scripts that parse the output of the above commands. Version-Release number of selected component (if applicable): 1.8.0-6 How reproducible: 100% Steps to Reproduce: # nmcli device wifi list ifname wlan0 wlan0 IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY * aoeu Infra 1 130 Mbit/s 90 ▂▄▆█ WPA2 # nmcli device wifi connect ssid ifname wlan0 wlan0 Device 'wlan0' successfully activated with '77d008bf-6a7b-40bf-a30c-cec6f0d16a36'. Expected results: The 'wlan0' line shouldn't be there. Additional info: Fixed upstream by https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=d2b4332b36686dd5d7382d996743f0ffa1a0fdda
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/RHSA-2017:2299