Bug 1436990 - [NMCI] bring down connection with id exits with incorrect value
Summary: [NMCI] bring down connection with id exits with incorrect value
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Francesco Giudici
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2017-08-01 09:24:38 UTC


Attachments (Terms of Use)


Links
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):
NetworkManager-1.8.0-0.4.rc1.el7.x86_64

How reproducible:
always

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.

https://access.redhat.com/errata/RHSA-2017:2299


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