@cryptotaxi247 / netdata-1 / commits / 988754cf2

disable cgroups init.scope/* by default; fixes #797

Costa Tsaousis committed Aug 21, 2016 at 12:39 UTC 988754cf2c96e3a03621f3ed299bcbd6f1ea25ad
1 file changed +1
src/sys_fs_cgroup.c
+1
@@ -662,6 +662,7 @@ struct cgroup *cgroup_add(const char *id) {
662 // starts with them
663 (len > 6 && !strncmp(chart_id, "user/", 6)) ||
664 (len > 11 && !strncmp(chart_id, "user.slice/", 11)) ||
665 + (len > 11 && !strncmp(chart_id, "init.scope/", 11)) ||
666 // ends with them
667 (len > 5 && !strncmp(&chart_id[len - 5], ".user", 5)) ||
668 (len > 5 && !strncmp(&chart_id[len - 5], ".swap", 5)) ||