Bug 1436990 - [NMCI] bring down connection with id exits with incorrect value
Summary: [NMCI] bring down connection with id exits with incorrect value
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.3
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Francesco Giudici
QA Contact: Desktop QE
Depends On:
TreeView+ depends on / blocked
Reported: 2017-03-29 08:19 UTC by Vladimir Benes
Modified: 2017-08-01 09:24 UTC (History)
7 users (show)

Fixed In Version: NetworkManager-1.8.0-0.4.rc2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-08-01 09:24:38 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:2299 normal SHIPPED_LIVE Moderate: NetworkManager and libnl3 security, bug fix and enhancement update 2017-08-01 12:40:28 UTC

Description Vladimir Benes 2017-03-29 08:19:30 UTC
Description of problem:
vbenes@krakonosovo:~$ nmcli  connection down id ethernet 
Error: 'id' is not an active connection.
Connection 'ethernet' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/1)
Error: not all active connections found.
^^ this is wrong

echo $? gives 10

vbenes@krakonosovo:~$ nmcli  connection up id ethernet 
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/5)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. nmcli con down id $active_connection

Actual results:
10 as exit value and error

Expected results:
0 and no error

Additional info:

Comment 4 errata-xmlrpc 2017-08-01 09:24:38 UTC
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.


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