cgconfigparser calls cgroup_init too late, it's necessary to initialize libcgroup logging earlier in the process, so various messages get visible to user.
Signed-off-by: Peter Schiffer <pschi...@redhat.com> --- src/tools/cgconfig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/cgconfig.c b/src/tools/cgconfig.c index da4486b..6aeea0f 100644 --- a/src/tools/cgconfig.c +++ b/src/tools/cgconfig.c @@ -84,6 +84,8 @@ int main(int argc, char *argv[]) int filem_change = 0; struct cgroup *default_group = NULL; + cgroup_set_default_logger(-1); + if (argc < 2) usage(argv[0]); /* usage() exits */ ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel