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
src/settings/plugins/ifupdown/nms-ifupdown-plugin.c
And I have already submitted the bug report and patch file at NetworkManager's bug tracker, following is the URL
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/145
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 1Beniamino Galvani
2019-04-02 09:43:55 UTC