GNOME Bugzilla – Bug 754767
error adding connection via nmcli/libnm
Last modified: 2015-09-18 13:56:43 UTC
$ nmcli con add type ethernet con-name ethernet2 ifname em1 autoconnect no (process:9772): libnm-CRITICAL **: nm_connection_get_id: assertion 's_con != NULL' failed Connection '(null)' ((null)) successfully added. (Substitute em1 with your actual interface name.)
Posted a libnm fix in jk/libnm-con-add-fix.
(In reply to Jiri Klimes from comment #1) > Posted a libnm fix in jk/libnm-con-add-fix. LGTM (but not high confidence)
this is a duplicate of bug 754794
I don't think this is a correct fix; we shouldn't announce the async-initable object before we initialize it. I believe the bug #754794 fix addresses this correctly.
Yeah, your fix seems fine. Go ahead and commit that. *** This bug has been marked as a duplicate of bug 754794 ***
I committed this one, since it works around the issue, doesn't break anything else and will do until there's a proper fix.