commit 0ced83dcfbb19af1201202e1af0a7073c338aabd Author: Daniel P. Berrange Date: Fri May 3 20:56:50 2013 +0100 Escaping leading '.' in cgroup names Escaping a leading '.' with '_' in the cgroup names Signed-off-by: Daniel P. Berrange Index: libvirt-1.0.5.1/src/util/vircgroup.c =================================================================== --- libvirt-1.0.5.1.orig/src/util/vircgroup.c +++ libvirt-1.0.5.1/src/util/vircgroup.c @@ -1106,7 +1106,8 @@ static int virCgroupPartitionNeedsEscapi if (STRPREFIX(path, "cgroup.")) return 1; - if (path[0] == '_') + if (path[0] == '_' || + path[0] == '.') return 1; if (!(fp = fopen("/proc/cgroups", "r")))