- Issued:
- 2011-05-19
- Updated:
- 2011-05-19
RHBA-2011:0577 - libcgroup bug fix and enhancement update
Synopsis
libcgroup bug fix and enhancement update
Type/Severity
Bug Fix Advisory (none)
Topic
Updated libcgroup packages that fix several bugs and add an enhancement are now available for Red Hat Enterprise Linux 6.
Description
The libcgroup packages provide tools and libraries to control and monitor control groups.
These updated libcgroup packages provide fixes for the following bugs:
-
With this update, the cgred and cgconfig services return proper exit codes when an error occurs. (BZ#620368)
-
The cgconfig service was erroneously setting values of configured parameters in the reverse order as they were written in the /etc/cgconfig.conf file. With this update, the cgconfig service now correctly sets parameter values in the same order as they appear in the configuration file. (BZ#622462)
-
The cgget command (which prints parameters of given cgroups) did not correctly display information about resource controllers due to a small buffer size. With this update, the buffer is no longer limited in size and the cgget command displays correct information. (BZ#626127)
-
The cgcreate command changed the current working directory when creating a cgroup. The command restored the working directory to the previous location, however, some directory changes could have been refused (for example, SELinux; resulting in cryptic security denials). With this update, the cgcreate command no longer changes the current working directory and therefore no longer incurs any SELinux denials. (BZ#628895)
-
After re-mounting a hierarchy of cgroups, the lssubsys command displayed incorrect information about the mounted hierarchies. This update fixes the faulty parsing of mounted hierarchies which are now correctly displayed. (BZ#635984)
-
The cgred service failed to start if the cgconfig service was not running and returned the following error: "libcgroup initialization failed, 50001". With this update, a more human-readable error message is returned when the cgred service is started before the cgconfig service. (BZ#650984)
-
The cgclassify command returned exit code 1 even if no errors occurred. With this update, exit code 0 is returned in the aforementioned case. (BZ#667957)
-
The /etc/cgconfig.conf file could not contain parameter values with special characters such as commas. Therefore, it was not possible to set certain values for some parameters (for example, cpuset.cpus=0,2). With this update, the cgconfig.conf parser allows enclosing the parameter values inside double quotes which allow special characters to be defined inside them (for example, cpuset.cpus="0,2"). (BZ#679698)
In addition, these updated packages provide the following enhancement:
- The libcgroup package now includes the cgsnapshot tool which is used to write the current state of control groups to a configuration file. (BZ#649195)
Users are advised to upgrade to these updated libcgroup packages, which resolve these issues and add this enhancement.
Solution
Before applying this update, make sure that all previously-released errata relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at This content is not included.https://access.redhat.com/kb/docs/DOC-11259
Affected Products
| Product | Version | Arch |
|---|---|---|
| Red Hat Enterprise Linux for Scientific Computing | 6 | x86_64 |
| Red Hat Enterprise Linux for Power, big endian | 6 | ppc64 |
| Red Hat Enterprise Linux for IBM z Systems | 6 | s390x |
| Red Hat Enterprise Linux Workstation | 6 | x86_64 |
| Red Hat Enterprise Linux Workstation | 6 | i386 |
| Red Hat Enterprise Linux Server | 6 | x86_64 |
| Red Hat Enterprise Linux Server | 6 | i386 |
| Red Hat Enterprise Linux Server from RHUI | 6 | x86_64 |
| Red Hat Enterprise Linux Server from RHUI | 6 | i386 |
| Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 6 | i386 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension | 6 | i386 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) | 6 | s390x |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) | 6 | s390x |
| Red Hat Enterprise Linux Desktop | 6 | x86_64 |
| Red Hat Enterprise Linux Desktop | 6 | i386 |
Updated Packages
- libcgroup-0.37-2.el6.src.rpm
- libcgroup-pam-0.37-2.el6.i686.rpm
- libcgroup-debuginfo-0.37-2.el6.i686.rpm
- libcgroup-pam-0.37-2.el6.x86_64.rpm
- libcgroup-debuginfo-0.37-2.el6.x86_64.rpm
- libcgroup-devel-0.37-2.el6.ppc.rpm
- libcgroup-devel-0.37-2.el6.x86_64.rpm
- libcgroup-devel-0.37-2.el6.i686.rpm
- libcgroup-pam-0.37-2.el6.ppc64.rpm
- libcgroup-0.37-2.el6.i686.rpm
- libcgroup-devel-0.37-2.el6.ppc64.rpm
- libcgroup-debuginfo-0.37-2.el6.s390x.rpm
- libcgroup-pam-0.37-2.el6.s390x.rpm
- libcgroup-0.37-2.el6.s390x.rpm
- libcgroup-devel-0.37-2.el6.s390x.rpm
- libcgroup-0.37-2.el6.ppc.rpm
- libcgroup-debuginfo-0.37-2.el6.s390.rpm
- libcgroup-pam-0.37-2.el6.ppc.rpm
- libcgroup-0.37-2.el6.ppc64.rpm
- libcgroup-devel-0.37-2.el6.s390.rpm
- libcgroup-0.37-2.el6.x86_64.rpm
- libcgroup-pam-0.37-2.el6.s390.rpm
- libcgroup-0.37-2.el6.s390.rpm
- libcgroup-debuginfo-0.37-2.el6.ppc.rpm
- libcgroup-debuginfo-0.37-2.el6.ppc64.rpm
Fixes
- This content is not included.BZ - 620368
- This content is not included.BZ - 622462
- This content is not included.BZ - 628895
- This content is not included.BZ - 634939
- This content is not included.BZ - 635984
- This content is not included.BZ - 649195
- This content is not included.BZ - 650984
- This content is not included.BZ - 667957
- This content is not included.BZ - 679698
CVEs
(none)
References
(none)
Additional information
- The Red Hat security contact is This content is not included.secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.