[lxc-users] lxc-start fails with invalid pid on arm

Praveen Kumar Verma Praveen.Verma at LntTechservices.com
Fri Mar 27 09:45:45 UTC 2015


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 at 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.

Thanks & Regards,
Praveen
L&T Technology Services Ltd

www.LntTechservices.com<http://www.lnttechservices.com/>

This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log_start.txt
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150327/509f9480/attachment.txt>


More information about the lxc-users mailing list