[Lxc-users] host fstab, boot error at cgconfig ...

István Király - LaKing d250 at yahoo.com
Fri Jan 27 20:23:25 UTC 2012


Hi folks.

I accidentally zero-ed out my original fstab generated by anaconda on my CentOs 6 box.
After recreation it looks like this:
UUID=5c4ef826-7786-43f7-8ebd-775f230e2e25 /                       ext4    defaults        1 1
UUID=c4a00fec-7931-4c4b-9cd3-906864bfadd3 /boot                   ext4    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
none             /cgroup         cgroup     defaults     0 0

At boot-time, I get the error:

Entering non-interactive startup
Calling the system activity data collector (sadc): 
Starting cgconfig service: Loading configuration file /etc/cgconfig.conf failed
Cgroup mounting failed
Failed to parse /etc/cgconfig.conf                         [FAILED]

However, lxc seems to be working, report by lxc-checkconfig

Kernel config /proc/config.gz not found, looking in other places...
Found kernel config file /boot/config-2.6.32-220.2.1.el6.x86_64
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Multiple /dev/pts instances: enabled

--- Control groups ---
Cgroup: enabled
Cgroup namespace: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
File capabilities: enabled
enabled

Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/local/bin/lxc-checkconfig


As far as I remember there was no error complaining about an unparseable cgconfig.conf

I don't like errors in my boot log. :)

Anyone has any ideas how to start troubleshooting this?

Thank you.

greetings, ...

 
LaKing at D250.hu D250 Laboratories
www.D250.hu




More information about the lxc-users mailing list