Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1694912

Summary: NetworkManager Keyfile Plugin Failed to Add Settings
Product: [Fedora] Fedora Reporter: Yupeng Chang <changyp6>
Component: NetworkManagerAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: bgalvani, dcbw, fgiudici, gnome-sig, john.j5live, lkundrak, mclasen, rhughes, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-02 09:43:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
Patch file to fix this issue in NetworkManager 1.16.0 none

Description Yupeng Chang 2019-04-02 03:34:49 UTC
Created attachment 1550865 [details]
Patch file to fix this issue in NetworkManager 1.16.0

Description of problem:
Since NetworkManager 1.14.x, keyfile plugin cannot work properly.

When you set a network device in /etc/network/interface, NetworkManager still use DHCP to obtain the IP address.

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

1.14.x ~ 1.16.0

How reproducible:

set eth0 to static in /etc/network/interface

Actual results:

NetworkManager reports "nm-settings.c xxx: assertion 'failed' "

Expected results:

NetworkManager can set IP address correctly

Additional info:

I have already addressed the bug, it is a typo in file 

And I have already submitted the bug report and patch file at NetworkManager's bug tracker, following is the URL

However, it seems that no one cares about this bug.
So I try to submit this bug at Fedora bugzilla. Please someone push the NetworkManager team to fix this ugly typo.

Attached is the patch for NetworkManager 1.16.0

Comment 1 Beniamino Galvani 2019-04-02 09:43:55 UTC
Thanks, patch applied to master:

and nm-1-16 branch.