Quoting Praveen Kumar Verma (praveen.ve...@lnttechservices.com): > Greetings, > > I am trying containers on busybox based file-system with kernel 3.12. > > I have successfully cross-compiled the lxc-1.1.0 package, & able to run > lxc-execute without any problem. > > Now I want to run linux with busybox template in container. > > I created a container named "bb" under /var/lib/lxc/bb. I can see config, > fstab & rootfs file present there. > > But when I tried to start the container, I am getting the following error: > (The full log is attached in a file) > > lxc-start 1414573214.442 DEBUG lxc_conf - conf.c:setup_caps:2139 - > capabilities have been setup > lxc-start 1414573214.442 NOTICE lxc_conf - conf.c:lxc_setup:3921 - > 'bb' is setup. > lxc-start 1414573214.442 NOTICE lxc_start - start.c:start:1232 - > exec'ing '/sbin/init' > lxc-start 1414573214.482 NOTICE lxc_start - start.c:post_start:1243 - > '/sbin/init' started with pid '1896' > lxc-start 1414573214.482 WARN lxc_start - > start.c:signal_handler:307 - invalid pid for SIGCHLD > > > I am login as a root in buysbox file system. and i have manually added the > root into cgroups using following: > > for d in /sys/fs/cgroup/*; do > mkdir $d/root > chown -R root: $d/root > echo $$ > $d/root/tasks > done > > root@evm:/sys/fs/cgroup/cpuset# cat /proc/self/cgroup > > 7:freezer:/root > 6:devices:/root > 5:memory:/root > 4:cpuacct:/root > 3:cpu:/root > 2:cpuset:/root > > Please help me in the issue.
I'm sorry, i don't understand what you've done, what you wanted to have happen, or what actually happened. Exactly how did you create the container? When you say "I am login as a root in buysbox file system", what do you mean exactly, is that logged in over lxc-console with the container running? Why did you create the 'root' cgroups by hand? _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users