Bug 1694912 - NetworkManager Keyfile Plugin Failed to Add Settings
Summary: NetworkManager Keyfile Plugin Failed to Add Settings
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 30
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2019-04-02 03:34 UTC by Yupeng Chang
Modified: 2019-04-02 09:43 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-04-02 09:43:55 UTC

Attachments (Terms of Use)
Patch file to fix this issue in NetworkManager 1.16.0 (692 bytes, patch)
2019-04-02 03:34 UTC, Yupeng Chang
no flags Details | Diff

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.

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