Bug 1374660 - ifcfg-rh plugin is unable to store and reload 802-1x connection with "eap leap"
Summary: ifcfg-rh plugin is unable to store and reload 802-1x connection with "eap leap"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Francesco Giudici
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1470965
TreeView+ depends on / blocked
 
Reported: 2016-09-09 10:58 UTC by Thomas Haller
Modified: 2018-04-10 13:21 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 13:19:11 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0778 0 None None None 2018-04-10 13:21:22 UTC

Description Thomas Haller 2016-09-09 10:58:08 UTC
Steps to reproduce.


- use ifcfg-rh as primary settings plugin.

- create a connection:

$ nmcli connection add type ethernet ifname eth1 con-name connie \
        802-1x.identity jdoe 802-1x.eap leap


- notice the connection exists

$ nmcli connection show | grep connie


- notice the ifcfg-file exists:

$ ls -la /etc/sysconfig/network-scripts/ifcfg-connie*


- reload the connection:

$ nmcli connection reload


- notice the connection is gone:

$ nmcli connection show | grep connie


- in the logfile you see:


  <debug> [1473418475.0311] ifcfg-rh: loading from file "/etc/sysconfig/network-scripts/ifcfg-connie"...
  <warn>  [1473418475.0313] ifcfg-rh: loading "/etc/sysconfig/network-scripts/ifcfg-connie" fails: Missing IEEE_8021X_PASSWORD for EAP method 'leap'.
  <debug> [1473418475.0313] ifcfg-rh: loading from file "/etc/sysconfig/network-scripts/ifcfg-t-wifi-Red-Hat"...
  <warn>  [1473418475.0313] ifcfg-rh:     missing IEEE_8021X_CA_CERT for EAP method 'peap'; this is insecure!
  <debug> [1473418475.0315] settings-connection[0x55ea214e49f0]: constructed (NMIfcfgConnection)
  <debug> [1473418475.0318] settings-connection[0x55ea214e49f0,5e694412-7488-465d-9e62-4f5431e77103]: replace settings from connection 0x55ea216eaac0 (my-wifi-Red-Hat)
  <debug> [1473418475.0326] settings-connection[0x55ea214e49f0,5e694412-7488-465d-9e62-4f5431e77103]: disposing
  <debug> [1473418475.0328] ifcfg-rh: loading from file "/etc/sysconfig/network-scripts/ifcfg-lo"...
  <debug> [1473418475.0328] ifcfg-rh: loading "/etc/sysconfig/network-scripts/ifcfg-lo" fails: Ignoring loopback device config.
  <info>  [1473418475.0328] ifcfg-rh: remove /etc/sysconfig/network-scripts/ifcfg-connie (b66f1b0d-8fe7-4d4a-90ea-07dcb56086b0,"connie")
  <trace> [1473418475.0330] exported-object[0x55ea214e4b50]: unexport: "/org/freedesktop/NetworkManager/Settings/38"
  <debug> [1473418475.0331] settings-connection[0x55ea214e4b50,b66f1b0d-8fe7-4d4a-90ea-07dcb56086b0]: disposing

Comment 2 Francesco Giudici 2017-10-01 14:22:26 UTC
Issue present in nm-1.8, should be already solved upstream.
Will be fixed on next rebase.

Moving bug to MODIFIED.

Comment 6 errata-xmlrpc 2018-04-10 13:19:11 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/RHBA-2018:0778


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