On Sun, 2011-07-03 at 19:24 +0100, jonathan essex wrote:
> I seem to be having this same issue in a Scientific Linux 6.0 (RHEL 6
> clone) installation with lxc-0.7.4.1
>
> lxc-checkconfig seems to think everything is OK, but when I try to
> lxc-start a container I've created, I get this error message:
>
> lxc-start: no ns_cgroup option specified
> lxc-start: failed to spawn 'centos-test'
> lxc-start: No such file or directory - failed to remove cgroup
> '/cgroup/cpuset/centos-test'
This sounds like my "failed" case in testing with libcgroup enabled.
The fact that it's mounted on /cgroup and not /sys/fs/cgroup does not
bode well all all.
1) uname -a
2) chkconfig cgconfig
You probably need to add a line to your /etc/fstab long the lines of
this:
cgroup /sys/fs/cgroupcgroup defaults0 0
Then run the commands:
chkconfig cgconfig off
chkconfig cgred off
The reboot (I have NOT had luck manually unmounting those cgroups and
remounting as a single mount point).
If I understand Serge's comments correctly, we can not get the
multipoint mounts to work even with the patched and updated lxc package
due to the lack of "clone_children" in that kernel, so you need to
switch a single mount-point mount to get lxc to work. Then you don't
even need the multipoint patches to get it to work though you may have
tweaks to make.
> Is this the problem under discussion? I'm new to lxc, so quite
> possible I'm just misunderstanding something.
> Happy to test the patch if someone will outline how to get it/apply
> it. (Aware that this is probably a tedious newbie type question, but
> asking anyway)
Serge or Daniel may correct me but I'm under the impression that it will
not work on that kernel, depending on the rev you report back, for RHEL
6 / SL6.
> Cheers
> Jon
Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | m...@wittsend.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF| possible worlds. A pessimist is sure of it!
signature.asc
Description: This is a digitally signed message part
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel