[lxc-users] old Ubuntu 8.04 container, /sbin/init fails

jf jfmeteo at gmail.com
Sat Jan 21 20:08:42 UTC 2017


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170121/ecfae815/attachment.html>


More information about the lxc-users mailing list