GNOME Bugzilla – Bug 672812
"nmcli con" Error: Can't obtain connections: settings service is not running.
Last modified: 2013-05-02 15:59:33 UTC
Version: 0.9.4.0 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665752 Since version 0.9.4.0, nmcli con no longer lists the active connections. It only prints the error Error: Can't obtain connections: settings service is not running. nmcli dev and nm seem to work properly.
It's fixed in git, Michael -- probably this patch: From dd0460697c4e281fe277b53916d5251332e1aafc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= <jklimes@redhat.com> Date: Tue, 27 Mar 2012 22:36:55 +0200 Subject: [PATCH 5/9] libnm-glib: initialize NMRemoteSettings in nm_remote_settings_new() (rh #806664) The object was not initialized after creation in nm_remote_settings_new(). This was a regression caused by 762df85234e7a042a2a5d31053e6cc273ae3e2ec. --- libnm-glib/nm-remote-settings.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libnm-glib/nm-remote-settings.c b/libnm-glib/nm-remote-settings.c index 8f213f9..b6b6c18 100644 --- a/libnm-glib/nm-remote-settings.c +++ b/libnm-glib/nm-remote-settings.c @@ -728,7 +728,12 @@ properties_changed_cb (DBusGProxy *proxy, NMRemoteSettings * nm_remote_settings_new (DBusGConnection *bus) { - return g_object_new (NM_TYPE_REMOTE_SETTINGS, NM_REMOTE_SETTINGS_BUS, bus, NULL); + NMRemoteSettings *settings; + + settings = g_object_new (NM_TYPE_REMOTE_SETTINGS, NM_REMOTE_SETTINGS_BUS, bus, NULL); + + _nm_remote_settings_ensure_inited (settings); + return settings; } static void
I can confirm that this patch fixes the issue (for me). So I'm going to close the bug report.
NM bugzilla reorganization... sorry for the bug spam.