Hi,

I'm using Ubuntu 16.04 with the default Ubuntu lxd package.
I'm trying to start a  Ubuntu 8.04 container, but I didn't find any image.
So I built and imported an image from deboostrap.

When I start the container, /sbin/init doesn't init anything and "lxc stop"
hangs:
  * lxc start ub8
  * lxc exec ub8 ps auwwx
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   4020  1428 ?        Ss   Jan22   0:00 /sbin/init
root        25  0.0  0.0  14856  1700 ?        Rs+  Jan22   0:00 ps auwwx


If I run these 3 commands:
  * lxc start ub8
  * lxc exec ub8 /etc/init.d/rc S
  * lxc exec ub8 /etc/init.d/rc 2
everything goes fine: the system is initialized and I can stop it.

Do I miss something ? Why do I need to manually run /etc/init.d/rc ?

Thanks for your help.
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to