Red Hat Bugzilla – Bug 753334
cgconfig fails to parse commas in the cgconfig.conf file
Last modified: 2015-01-04 18:01:53 EST
+++ This bug was initially created as a clone of Bug #683541 +++
Description of problem:
cgconfig fails to parse due to commas in the conf file
Version-Release number of selected component (if applicable):
Problem seen in both: libcgroup-0.35.1-3.fc13, libcgroup-0.36.2-5.fc14 and probably other versions as well.
Steps to Reproduce:
1. Add a line to the config file that uses a comma for the mask.
For example: cpuset.cpus = 1-3,11;
2. Attempt to start cgconfig
3. Fails due to parse error.
cgconfig fails to start
cgconfig starts successfully
adding a \, to the regular expression on line 35 of lex.l in the libcgroup source fixes it.
--- Additional comment from email@example.com on 2011-05-24 08:18:41 EDT ---
I believe this was fixed in the upstream sources, and probably an update has been delivered. Can you please confirm if it still exists for you?
--- Additional comment from firstname.lastname@example.org on 2011-05-26 10:04:28 EDT ---
libcgroup-0.36.2-7.fc14 has been submitted as an update for Fedora 14.
--- Additional comment from email@example.com on 2011-05-26 10:06:14 EDT ---
The problem was not fixed in libcgroup-0.36.2-6.fc14 now libcgroup-0.36.2-7.fc14 should fix it.
--- Additional comment from firstname.lastname@example.org on 2011-05-26 17:53:22 EDT ---
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libcgroup-0.36.2-7.fc14'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
--- Additional comment from email@example.com on 2011-06-21 13:08:26 EDT ---
libcgroup-0.36.2-7.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
Created attachment 785642 [details]
Reproduced in libcgroup-0.37-7.el6.x86_64 and verified in libcgroup-0.37-10.el6.x86_64.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.