Skip to navigation

Bug Fix Advisory libcgroup bug fix and enhancement update

Advisory: RHBA-2011:0577-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2011-05-19
Last updated on: 2011-05-19
Affected Products: Red Hat Enterprise Linux Desktop (v. 6)
Red Hat Enterprise Linux HPC Node (v. 6)
Red Hat Enterprise Linux Server (v. 6)
Red Hat Enterprise Linux Workstation (v. 6)

Details

Updated libcgroup packages that fix several bugs and add an enhancement are now
available for Red Hat Enterprise Linux 6.

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
https://access.redhat.com/kb/docs/DOC-11259

Updated packages

Red Hat Enterprise Linux Desktop (v. 6)

SRPMS:
libcgroup-0.37-2.el6.src.rpm
File outdated by:  RHBA-2013:1797
    MD5: 507997edab2d85fea09d2f0c1987f43e
SHA-256: 31d76b27e3191188834f5799731c3af032ea89e49842a314a565210208c8cd18
 
IA-32:
libcgroup-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 8c30b9172df62d282a887232083f8e3c
SHA-256: 4be2bb12cfbcc9c4a05eb5eb5ded2d98d3b46856cdac6c30a0c992a843cabb24
libcgroup-debuginfo-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 0b3e65213f336c727fbf3edab9957874
SHA-256: 8ab4b943dee19d5401762763cf3e35fa868870cc46cd8db8999fea35463c31a9
libcgroup-devel-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 6a03f46619de20c05613db4164a09ec7
SHA-256: d96e0834fff65aaa2236dd1ce3f7638fdc91a12da43898625f1f5fe1410e389a
libcgroup-pam-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: d24e28ace5b58d13f54dfc5683360df8
SHA-256: 3e9abc4e6caa6e917cf0a1a74a93ffa94ffef1fafbcb5c906cf2b5a959d2fe6f
 
x86_64:
libcgroup-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 8c30b9172df62d282a887232083f8e3c
SHA-256: 4be2bb12cfbcc9c4a05eb5eb5ded2d98d3b46856cdac6c30a0c992a843cabb24
libcgroup-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 378c58abe9702426fcae0e68dae5d6d1
SHA-256: 05d1969f31fa83ec71baf900a378d98199be415dc85cc61c4b0f0ae098982a47
libcgroup-debuginfo-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 0b3e65213f336c727fbf3edab9957874
SHA-256: 8ab4b943dee19d5401762763cf3e35fa868870cc46cd8db8999fea35463c31a9
libcgroup-debuginfo-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 57d8137c776dfc217c746d7736fafae9
SHA-256: 01c16c998554e14bb816ddcf4cb6bd655023547dee5105db6fb6e74a59ae783c
libcgroup-devel-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 6a03f46619de20c05613db4164a09ec7
SHA-256: d96e0834fff65aaa2236dd1ce3f7638fdc91a12da43898625f1f5fe1410e389a
libcgroup-devel-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: db01772caefb6b07af69b17a652bc2a2
SHA-256: 74890bec68bf70fe617df787116b682d75be7007fdcedef5c9caacb0c42f0e6c
libcgroup-pam-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: d24e28ace5b58d13f54dfc5683360df8
SHA-256: 3e9abc4e6caa6e917cf0a1a74a93ffa94ffef1fafbcb5c906cf2b5a959d2fe6f
libcgroup-pam-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: c102186243afce2df48a92271f679e48
SHA-256: 6dd5614a4223895e3bff72c8e8fb9ac597291684658df23f06bd2ca515ba597c
 
Red Hat Enterprise Linux HPC Node (v. 6)

SRPMS:
libcgroup-0.37-2.el6.src.rpm
File outdated by:  RHBA-2013:1797
    MD5: 507997edab2d85fea09d2f0c1987f43e
SHA-256: 31d76b27e3191188834f5799731c3af032ea89e49842a314a565210208c8cd18
 
x86_64:
libcgroup-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 8c30b9172df62d282a887232083f8e3c
SHA-256: 4be2bb12cfbcc9c4a05eb5eb5ded2d98d3b46856cdac6c30a0c992a843cabb24
libcgroup-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 378c58abe9702426fcae0e68dae5d6d1
SHA-256: 05d1969f31fa83ec71baf900a378d98199be415dc85cc61c4b0f0ae098982a47
libcgroup-debuginfo-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 0b3e65213f336c727fbf3edab9957874
SHA-256: 8ab4b943dee19d5401762763cf3e35fa868870cc46cd8db8999fea35463c31a9
libcgroup-debuginfo-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 57d8137c776dfc217c746d7736fafae9
SHA-256: 01c16c998554e14bb816ddcf4cb6bd655023547dee5105db6fb6e74a59ae783c
libcgroup-devel-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 6a03f46619de20c05613db4164a09ec7
SHA-256: d96e0834fff65aaa2236dd1ce3f7638fdc91a12da43898625f1f5fe1410e389a
libcgroup-devel-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: db01772caefb6b07af69b17a652bc2a2
SHA-256: 74890bec68bf70fe617df787116b682d75be7007fdcedef5c9caacb0c42f0e6c
libcgroup-pam-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: d24e28ace5b58d13f54dfc5683360df8
SHA-256: 3e9abc4e6caa6e917cf0a1a74a93ffa94ffef1fafbcb5c906cf2b5a959d2fe6f
libcgroup-pam-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: c102186243afce2df48a92271f679e48
SHA-256: 6dd5614a4223895e3bff72c8e8fb9ac597291684658df23f06bd2ca515ba597c
 
Red Hat Enterprise Linux Server (v. 6)

SRPMS:
libcgroup-0.37-2.el6.src.rpm
File outdated by:  RHBA-2013:1797
    MD5: 507997edab2d85fea09d2f0c1987f43e
SHA-256: 31d76b27e3191188834f5799731c3af032ea89e49842a314a565210208c8cd18
 
IA-32:
libcgroup-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 8c30b9172df62d282a887232083f8e3c
SHA-256: 4be2bb12cfbcc9c4a05eb5eb5ded2d98d3b46856cdac6c30a0c992a843cabb24
libcgroup-debuginfo-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 0b3e65213f336c727fbf3edab9957874
SHA-256: 8ab4b943dee19d5401762763cf3e35fa868870cc46cd8db8999fea35463c31a9
libcgroup-devel-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 6a03f46619de20c05613db4164a09ec7
SHA-256: d96e0834fff65aaa2236dd1ce3f7638fdc91a12da43898625f1f5fe1410e389a
libcgroup-pam-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: d24e28ace5b58d13f54dfc5683360df8
SHA-256: 3e9abc4e6caa6e917cf0a1a74a93ffa94ffef1fafbcb5c906cf2b5a959d2fe6f
 
PPC:
libcgroup-0.37-2.el6.ppc.rpm
File outdated by:  RHBA-2013:1797
    MD5: 349bb93682a95b9d1cc149c126a2835a
SHA-256: db6725123897fa707d4747b77b62cd466a5dbce1217cb80675e4e8d852b6243a
libcgroup-0.37-2.el6.ppc64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 02734280e15c2d2d62138053a9c22866
SHA-256: fba989609c05748e73054d6b0a360a258d8d8f10f78887446cfca5194b5618e9
libcgroup-debuginfo-0.37-2.el6.ppc.rpm
File outdated by:  RHBA-2013:1797
    MD5: b1fd4c668f000e3807f09cc3edadeb6e
SHA-256: d276f947583402fae5e87231643266eb8c4c639af4e7a557443ae4a4fb224c3b
libcgroup-debuginfo-0.37-2.el6.ppc64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 073359a70be705e5cd1356b837f19e38
SHA-256: 90045aad9c865852948956cc27a438b4a5940ada35e94ef85c89909e1084c11d
libcgroup-devel-0.37-2.el6.ppc.rpm
File outdated by:  RHBA-2013:1797
    MD5: c221c7261ca0aa68c1a582bf09df26ca
SHA-256: f27ebae6ebfb1f22930bd9057d69b0a7b84356e3ec328ec92247e17a5260251a
libcgroup-devel-0.37-2.el6.ppc64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 67b06e8f29db7d7e46b0ab5b0bb9ab76
SHA-256: f380f038f77375387896a1540386fdc8e35916a7536754368bc2cc17996e51b3
libcgroup-pam-0.37-2.el6.ppc.rpm
File outdated by:  RHBA-2013:1797
    MD5: edf8f470fabae5f9d9904e7aa2beb370
SHA-256: b7cca0eb1a938a63c0be2454b79cae22b21714500942a072b5f57737aff25f38
libcgroup-pam-0.37-2.el6.ppc64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 53f497eae3fd904297858bee73b63922
SHA-256: f50e21601cefc687816f9e62e60e27f4e34f530132c7f568fc6444beea436052
 
s390x:
libcgroup-0.37-2.el6.s390.rpm
File outdated by:  RHBA-2013:1797
    MD5: 32a6283be9fbb39983dce7d278176c69
SHA-256: 074eb0980306ee00e8f847be40e5b54865eec1f2368280d9d949c2d092c45355
libcgroup-0.37-2.el6.s390x.rpm
File outdated by:  RHBA-2013:1797
    MD5: 45e0a2f9c8fa4d1a062dbe81486423ee
SHA-256: 859ae3ec17339f45df918ced22a8084d6e7b286971faf32f84fda4b475bd1bcd
libcgroup-debuginfo-0.37-2.el6.s390.rpm
File outdated by:  RHBA-2013:1797
    MD5: 7b60a12d8c56a837b945a094d744f104
SHA-256: 469cfeb2a6b1348fbfed7ad5da6fcc11246aef2ec6299a59cb9972a707484fc6
libcgroup-debuginfo-0.37-2.el6.s390x.rpm
File outdated by:  RHBA-2013:1797
    MD5: 61b4863f50108b2a8e26625c1123e441
SHA-256: 01381c9a00ff11a118bf0923e38c5f4bcf61b9917eead9bc139e67450085b73a
libcgroup-devel-0.37-2.el6.s390.rpm
File outdated by:  RHBA-2013:1797
    MD5: 9c8cf81ecf24ac1dc1211067d974d311
SHA-256: 77445a6f8a28392e1141b80f624edf96620c7fe8fe13fd4b1927652d3c7e6852
libcgroup-devel-0.37-2.el6.s390x.rpm
File outdated by:  RHBA-2013:1797
    MD5: 16bf36e4ad9b7c6294d8aa4a8839649d
SHA-256: 90ab282042a0605f7c949caae838f5848868c7c00b9382855233eaac05b344e7
libcgroup-pam-0.37-2.el6.s390.rpm
File outdated by:  RHBA-2013:1797
    MD5: 5bfae6d970b71da85a665aa01de1b9e1
SHA-256: 944ce48fd4bcea85d4cc4a4a2a53c8d418dfdf1f1f21aaf77a9276d3cfd5aacb
libcgroup-pam-0.37-2.el6.s390x.rpm
File outdated by:  RHBA-2013:1797
    MD5: 2ccfe608e88a7b5af746145a988f6ec4
SHA-256: 95c5d299db7f14324aea7365dd2e71368fb02b8489e21005681c0374e61ebe92
 
x86_64:
libcgroup-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 8c30b9172df62d282a887232083f8e3c
SHA-256: 4be2bb12cfbcc9c4a05eb5eb5ded2d98d3b46856cdac6c30a0c992a843cabb24
libcgroup-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 378c58abe9702426fcae0e68dae5d6d1
SHA-256: 05d1969f31fa83ec71baf900a378d98199be415dc85cc61c4b0f0ae098982a47
libcgroup-debuginfo-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 0b3e65213f336c727fbf3edab9957874
SHA-256: 8ab4b943dee19d5401762763cf3e35fa868870cc46cd8db8999fea35463c31a9
libcgroup-debuginfo-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 57d8137c776dfc217c746d7736fafae9
SHA-256: 01c16c998554e14bb816ddcf4cb6bd655023547dee5105db6fb6e74a59ae783c
libcgroup-devel-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 6a03f46619de20c05613db4164a09ec7
SHA-256: d96e0834fff65aaa2236dd1ce3f7638fdc91a12da43898625f1f5fe1410e389a
libcgroup-devel-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: db01772caefb6b07af69b17a652bc2a2
SHA-256: 74890bec68bf70fe617df787116b682d75be7007fdcedef5c9caacb0c42f0e6c
libcgroup-pam-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: d24e28ace5b58d13f54dfc5683360df8
SHA-256: 3e9abc4e6caa6e917cf0a1a74a93ffa94ffef1fafbcb5c906cf2b5a959d2fe6f
libcgroup-pam-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: c102186243afce2df48a92271f679e48
SHA-256: 6dd5614a4223895e3bff72c8e8fb9ac597291684658df23f06bd2ca515ba597c
 
Red Hat Enterprise Linux Workstation (v. 6)

SRPMS:
libcgroup-0.37-2.el6.src.rpm
File outdated by:  RHBA-2013:1797
    MD5: 507997edab2d85fea09d2f0c1987f43e
SHA-256: 31d76b27e3191188834f5799731c3af032ea89e49842a314a565210208c8cd18
 
IA-32:
libcgroup-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 8c30b9172df62d282a887232083f8e3c
SHA-256: 4be2bb12cfbcc9c4a05eb5eb5ded2d98d3b46856cdac6c30a0c992a843cabb24
libcgroup-debuginfo-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 0b3e65213f336c727fbf3edab9957874
SHA-256: 8ab4b943dee19d5401762763cf3e35fa868870cc46cd8db8999fea35463c31a9
libcgroup-devel-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 6a03f46619de20c05613db4164a09ec7
SHA-256: d96e0834fff65aaa2236dd1ce3f7638fdc91a12da43898625f1f5fe1410e389a
libcgroup-pam-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: d24e28ace5b58d13f54dfc5683360df8
SHA-256: 3e9abc4e6caa6e917cf0a1a74a93ffa94ffef1fafbcb5c906cf2b5a959d2fe6f
 
x86_64:
libcgroup-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 8c30b9172df62d282a887232083f8e3c
SHA-256: 4be2bb12cfbcc9c4a05eb5eb5ded2d98d3b46856cdac6c30a0c992a843cabb24
libcgroup-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 378c58abe9702426fcae0e68dae5d6d1
SHA-256: 05d1969f31fa83ec71baf900a378d98199be415dc85cc61c4b0f0ae098982a47
libcgroup-debuginfo-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 0b3e65213f336c727fbf3edab9957874
SHA-256: 8ab4b943dee19d5401762763cf3e35fa868870cc46cd8db8999fea35463c31a9
libcgroup-debuginfo-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: 57d8137c776dfc217c746d7736fafae9
SHA-256: 01c16c998554e14bb816ddcf4cb6bd655023547dee5105db6fb6e74a59ae783c
libcgroup-devel-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: 6a03f46619de20c05613db4164a09ec7
SHA-256: d96e0834fff65aaa2236dd1ce3f7638fdc91a12da43898625f1f5fe1410e389a
libcgroup-devel-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: db01772caefb6b07af69b17a652bc2a2
SHA-256: 74890bec68bf70fe617df787116b682d75be7007fdcedef5c9caacb0c42f0e6c
libcgroup-pam-0.37-2.el6.i686.rpm
File outdated by:  RHBA-2013:1797
    MD5: d24e28ace5b58d13f54dfc5683360df8
SHA-256: 3e9abc4e6caa6e917cf0a1a74a93ffa94ffef1fafbcb5c906cf2b5a959d2fe6f
libcgroup-pam-0.37-2.el6.x86_64.rpm
File outdated by:  RHBA-2013:1797
    MD5: c102186243afce2df48a92271f679e48
SHA-256: 6dd5614a4223895e3bff72c8e8fb9ac597291684658df23f06bd2ca515ba597c
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

620368 - More libcgroup services not LSB-compliant
622462 - Not possible to set memory.memsw.limit_in_bytes
628895 - init script searches cwd which can cause SELinux denials
634939 - rpmlint errors and warnings
635984 - lssubsys -am does not show all subsystems after hierarchy remount
649195 - add cgsnapshot tool to libcgroup package
650984 - cgred and cgrulesengd fail to start with error message, Error: libcgroup initialization failed, 50001
667957 - cgclassify returns 1 on success
679698 - bug in libcgroup is preventing cpuset.cpus to be set as anything other than a single CPU, or a single range.


Keywords

cgroup, libgroup


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/