You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2014 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: Alexandre L. <pro...@gm...> - 2014-12-05 09:59:50
|
Hello, I am using libcg 0.41 and Linux Kernel 3.2.0.4 (AMD 64) on Debian 7. When I am using memory controller (and some others) through the following config file : --- mount { cpu = /cgroup/cpu; freezer = /cgroup/freezer; net_cls = /cgroup/net_cls; blkio = /cgroup/blkio; memory = /cgroup/memory; } --- the cgroup_get_cgroup() function is returning an error "Cgroup invalid operation". The error seems to be emitted from cgroup_add_controller() which will return on this case : /* * Still not sure how to handle the failure here. */ for (i = 0; i < cgroup->index; i++) { if (strncmp(name, cgroup->controller[i]->name, sizeof(cgroup->controller[i]->name)) == 0) { return NULL; } } When commenting the memory controller line, the error disappear. I have also tried to output all debug messages available in libcg, but none of these seems related to this issue. What can cause this issue ? Best regard, |
From: Jan C. <jch...@re...> - 2014-02-06 11:02:26
|
Hi upstream, I am sending you patches to repair bugs occuring during cgconfig.conf parsing. Bugzilla: #1018839, #1018724. Do you agree with changes? Best regards Jan Chaloupka |
From: SourceForge.net <no...@so...> - 2010-12-28 17:46:51
|
Bugs item #3147176, was opened at 2010-12-28 18:46 Message generated for change (Tracker Item Submitted) made by poelzi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1043649&aid=3147176&group_id=218421 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Daniel Poelzleithner (poelzi) Assigned to: Nobody/Anonymous (nobody) Summary: crash on empty cgroup_modify_cgroup Initial Comment: cgroup_modify_cgroup causes a crash when no controller is added to the cgroup. fix attached ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1043649&aid=3147176&group_id=218421 |
From: SourceForge.net <no...@so...> - 2010-03-09 16:15:33
|
Bugs item #2962110, was opened at 2010-03-02 14:04 Message generated for change (Comment added) made by deksai You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1043649&aid=2962110&group_id=218421 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Chris (deksai) Assigned to: Nobody/Anonymous (nobody) Summary: init script can miss default group Initial Comment: If there is a directive like *:httpd before * in the cgconfig file, all processes end up being moved into the wrong group on cgconfig startup, and the default group is never made. This fixes it for me: diff --git a/scripts/init.d/cgconfig.in b/scripts/init.d/cgconfig.in index 261c7d8..99608a5 100644 --- a/scripts/init.d/cgconfig.in +++ b/scripts/init.d/cgconfig.in @@ -58,7 +58,7 @@ create_default_groups() { if [ -f /etc/cgrules.conf ] then read user ctrl defaultcgroup <<< \ - `grep -m1 ^\* /etc/cgrules.conf` + `grep -m1 '^\*[[:space:]]\+' /etc/cgrules.conf` if [[ -n $defaultcgroup && $defaultcgroup = "*" ]] then log_warning_msg "/etc/cgrules.conf incorrect" ---------------------------------------------------------------------- >Comment By: Chris (deksai) Date: 2010-03-09 11:15 Message: Sent it to the list. ---------------------------------------------------------------------- Comment By: Dhaval Giani (dhaval_giani) Date: 2010-03-08 08:24 Message: Hi Chris, Could you please post this patch to lib...@li.... Please note it is a subscribers only list, so you will need to subscribe before posting on that list. By posting it on the list, you get wider coverage and quicker response. Thanks, Dhaval ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1043649&aid=2962110&group_id=218421 |
From: SourceForge.net <no...@so...> - 2010-03-09 16:14:54
|
Bugs item #2962114, was opened at 2010-03-02 14:10 Message generated for change (Comment added) made by deksai You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1043649&aid=2962114&group_id=218421 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Chris (deksai) Assigned to: Nobody/Anonymous (nobody) Summary: rpm spec file misses the sysconfig/cgconfig file Initial Comment: The /etc/sysconfig/cgconfig file is never installed with the current RPM spec file. This fixes it for me: diff --git a/dist/libcgroup.spec.in b/dist/libcgroup.spec.in index 27ab880..7cab82f 100644 --- a/dist/libcgroup.spec.in +++ b/dist/libcgroup.spec.in @@ -55,6 +55,7 @@ make DESTDIR=$RPM_BUILD_ROOT install # install config files mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig cp samples/cgred.conf $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgred.conf +cp samples/cgconfig.sysconfig $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgconfig cp samples/cgconfig.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgconfig.conf cp samples/cgrules.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgrules.conf @@ -90,6 +91,7 @@ fi %files %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/sysconfig/cgred.conf +%config(noreplace) %{_sysconfdir}/sysconfig/cgconfig %config(noreplace) %{_sysconfdir}/cgconfig.conf %config(noreplace) %{_sysconfdir}/cgrules.conf /%{_lib}/libcgroup.so.* ---------------------------------------------------------------------- >Comment By: Chris (deksai) Date: 2010-03-09 11:14 Message: Sent it to the list. ---------------------------------------------------------------------- Comment By: Dhaval Giani (dhaval_giani) Date: 2010-03-08 08:23 Message: Hi Chris, Would you mind opsting this patch to the mailing list at lib...@li... ? Please note, it is a subscribers only list, so you will need to subscribe to the list before posting there. Thanks Dhaval ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1043649&aid=2962114&group_id=218421 |