]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
make failure to connect to cgmanager DEBUG instead of ERROR
authorDwight Engen <dwight.engen@oracle.com>
Tue, 11 Mar 2014 18:48:32 +0000 (14:48 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 13 Mar 2014 00:37:43 +0000 (20:37 -0400)
You can have both cgmanager and cgfs compiled in, and lxc will fall back
at runtime to cgfs if it cannot connect to cgmanager, so print the failure
to connect as a DEBUG like the code used to do.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/cgmanager.c

index 38f482b94fe55dc6d84cf3634d4a53d7feb629e6..6cefacb82b9af2594c4b98a3ad320c427f587c5d 100644 (file)
@@ -143,7 +143,7 @@ static bool do_cgm_dbus_connect(void)
 
        connection = dbus_connection_open_private(CGMANAGER_DBUS_SOCK, &dbus_error);
        if (!connection) {
-               ERROR("Failed opening dbus connection: %s: %s",
+               DEBUG("Failed opening dbus connection: %s: %s",
                                dbus_error.name, dbus_error.message);
                dbus_error_free(&dbus_error);
                return false;