Package: cgroup-bin
Version: 0.36.2-3
Severity: important
cgroup-bin fails to configure itself:
shambhala:~> LANG=C aptitude install cgroup-bin
The following partially installed packages will be configured:
cgroup-bin
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
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 ... failed!
invoke-rc.d: initscript cgconfig, action "start" failed.
dpkg: error processing cgroup-bin (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
cgroup-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
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 ... failed!
invoke-rc.d: initscript cgconfig, action "start" failed.
dpkg: error processing cgroup-bin (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
cgroup-bin
cgconfigparser does not like the config file the package installs:
shambhala:~> /usr/sbin/cgconfigparser -l /etc/cgconfig.conf
Loading configuration file /etc/cgconfig.conf failed
Cgroup mounting failed
There is not much uncommented stuff in it:
shambhala:~> grep -v "^#" /etc/cgconfig.conf
mount {
cpu = /mnt/cgroups/cpu;
cpuacct = /mnt/cgroups/cpuacct;
devices = /mnt/cgroups/devices;
}
But even I I also comment out these, it doesn't work:
shambhala:~> vim /etc/cgconfig.conf
shambhala:~> grep -v "^#" /etc/cgconfig.conf
shambhala:~#1> /usr/sbin/cgconfigparser -l /etc/cgconfig.conf
Loading configuration file /etc/cgconfig.conf failed
Cannot have mount and namespace keyword in the same configuration file
It seems as if cgconfigparser doesn't treat the hash (#) as comment sign.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (450, 'testing'), (400, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.35.4-tp42-vmembase-0-pm-avoid-oom-dirty (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cgroup-bin depends on:
ii libc6 2.11.2-5 Embedded GNU C Library: Shared lib
ii libcgroup1 0.36.2-3 A library to control and monitor c
cgroup-bin recommends no packages.
cgroup-bin suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]