RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1094296 - say that secondaries are intended to be used with vpn only
Summary: say that secondaries are intended to be used with vpn only
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jirka Klimes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-05 12:51 UTC by Vladimir Benes
Modified: 2016-01-04 06:04 UTC (History)
4 users (show)

Fixed In Version: NetworkManager-0.9.9.1-30.git20140326.4dba720.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 13:50:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0311 0 normal SHIPPED_LIVE NetworkManager bug fix and enhancement update 2015-03-05 17:35:10 UTC

Description Vladimir Benes 2014-05-05 12:51:56 UTC
Description of problem:
I can add uuid of any network I want into secondaries as neither documentation not describe say anything that it's not allowed. There is just an error written in messages that connection is not vpn. 

Version-Release number of selected component (if applicable):
NetworkManager-0.9.9.1-13.git20140326.4dba720.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1.add wireless profile as an ethernet's secondary
2.nmcli connection edit id ethernet
3.set connection.secondary uuid_of_wireless_profile
4.nmcli con up id ethernet

Actual results:
both fails with error that wireless profile is not vpn in messages

Expected results:
some warning in nmcli that this is unsupported or describe saying that or man pages at least

Additional info:

Comment 1 Jirka Klimes 2014-05-23 10:30:45 UTC
The nmcli specific description has been added by this commit:
645f020 nmcli: improve setting connection.secondaries property

But we may still do some enhancements:
* update the property's description itself
* restrict setting secondaries to only VPNs in nmcli
* implement TAB completion in nmcli editor for secondaries
The changes are available in upstream branch jk/secondaries-rh1094296.

Comment 2 Thomas Haller 2014-05-23 13:19:58 UTC
Looks good to me

Comment 3 Dan Williams 2014-05-23 15:58:52 UTC
jk/secondaries-rh1094296 looks good to me.

Comment 4 Jirka Klimes 2014-05-26 08:42:32 UTC
Changes committed to upstream master:
e6f1c83 cli: TAB completion for connection.secondaries
7696238 cli: only allow setting VPN connection as secondaries in editor
e3d1e17 libnm-util: make explicit that we only allow VPN as secondaries (rh #1094296)

Comment 8 errata-xmlrpc 2015-03-05 13:50:50 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://rhn.redhat.com/errata/RHBA-2015-0311.html


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