]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgroups: log container process entering 3664/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 10 Feb 2021 19:18:37 +0000 (20:18 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 10 Feb 2021 19:20:34 +0000 (20:20 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index 68b047b951df0d4cd6b2ed8583eea105d921166d..5e1b3e632c5a2781e2918e3ce7d60060abd8c878 100644 (file)
@@ -1539,6 +1539,8 @@ __cgfsng_ops static bool cgfsng_payload_enter(struct cgroup_ops *ops,
                ret = lxc_writeat(h->cgfd_con, "cgroup.procs", pidstr, len);
                if (ret != 0)
                        return log_error_errno(false, errno, "Failed to enter cgroup \"%s\"", h->container_full_path);
+
+               TRACE("Moved container into %s cgroup via %d", h->container_full_path, h->cgfd_con);
        }
 
        return true;