diff --git a/introspection/org.freedesktop.NetworkManager.xml b/introspection/org.freedesktop.NetworkManager.xml index 715e182eda..f78a989a4b 100644 --- a/introspection/org.freedesktop.NetworkManager.xml +++ b/introspection/org.freedesktop.NetworkManager.xml @@ -129,7 +129,7 @@ parameters. At this time the following options are supported: * persist: A string value of either "disk" (default), "memory" or "volatile". If "memory" is passed, the connection will not be saved to disk. If "volatile" is passed, the connection will not be saved to disk and will be destroyed when disconnected. - * bind: Bind the connections lifetime. Set to "dbus-name" to automatically disconnect when the requesting process disappears from the bus. The default of "none" means the connection is kept alive normally. If restricted, then persist must be set to "volatile". + * bind: Bind the activation lifetime. Set to "dbus-name" to automatically disconnect when the requesting process disappears from the bus. The default of "none" means the connection is kept activated normally. --> diff --git a/src/nm-manager.c b/src/nm-manager.c index e5a0964192..e7ea86ffa1 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -5364,12 +5364,8 @@ impl_manager_add_and_activate_connection (NMDBusObject *obj, if (!active) goto error; - if (g_strcmp0 (bind_lifetime, "dbus-client") == 0) { - if (persist != NM_SETTINGS_CONNECTION_PERSIST_MODE_VOLATILE_ONLY) - goto error; - + if (g_strcmp0 (bind_lifetime, "dbus-client") == 0) nm_active_connection_bind_dbus_client (active, dbus_connection, sender); - } nm_active_connection_authorize (active, incompl_conn,