cgroup-bin package installs with errors (failure to parse /etc/cgconfig.conf)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcgroup (Debian) |
Fix Released
|
Unknown
|
|||
libcgroup (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn |
Bug Description
Binary package hint: cgroup-bin
[james@azul]:~> sudo apt-get install cgroup-bin
[sudo] password for james:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libcgroup1
The following NEW packages will be installed
cgroup-bin libcgroup1
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 83.5kB of archives.
After this operation, 438kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Fetched 83.5kB in 0s (128kB/s)
Selecting previously deselected package libcgroup1.
(Reading database ... 279201 files and directories currently installed.)
Unpacking libcgroup1 (from .../libcgroup1_
Selecting previously deselected package cgroup-bin.
Unpacking cgroup-bin (from .../cgroup-
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libcgroup1 (0.36.2-3) ...
Setting up cgroup-bin (0.36.2-3) ...
Starting cgconfig service: Loading configuration file /etc/cgconfig.conf failed
Cgroup mounting failed
* Failed to parse /etc/cgconfig.conf
invoke-rc.d: initscript cgconfig, action "start" failed.
dpkg: error processing cgroup-bin (--configure):
subprocess installed post-installation script returned error exit status 3
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
cgroup-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
___________________
The contentious file in question ("/etc/
The guts of this file are:
mount {
cpu = /mnt/cgroups/cpu;
cpuacct = /mnt/cgroups/
devices = /mnt/cgroups/
}
Note that /mnt/cgroups/ *has* been created on install of this package, but the cpu, cpuacct and devices subdirectories have not.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cgroup-bin 0.36.2-3
ProcVersionSign
Uname: Linux 2.6.35-
NonfreeKernelMo
Architecture: i386
Date: Fri Nov 26 10:08:04 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: libcgroup
Related branches
Changed in libcgroup (Debian): | |
status: | Unknown → New |
Changed in libcgroup (Debian): | |
status: | New → Fix Released |
Thanks for taking the time to report this bug.
The hierarchy should be created by cgconfigparser, IIUC. However, it is not succeeding. I believe the stock cgconfig is bad.
I'm debugging that right now as part of converting libcgroup to upstart. I hope to have a fix in soon.