On Mon, Oct 12, 2015 at 7:28 PM, Davide Baldini
<[email protected]> wrote:
> Hello,
>
> when my container starts (lxc-start) it defaults to runlevel "S" and runs
> the scripts in /etc/rcS.d/; instead I need it to start on runlevel "2", but
> I can't figure out how.
>
> This container is made of a Debian 7 root tree taken as-is from an existing
> OpenVZ VE, in a porting attempt. The container's root tree, initially
> created by a template script, has been replaced with my existing OpenVZ
> tree. Every lxc configuration file on the whole system is default.
>
>
> Host:
>     Linux 4.1.1,
>     lxc 1.1.4
>     Debian 7

Try creating a new container with the download template, and see if it
starts at the correct runlevel.

IIRC there were some modifications needed for sysvinit-based
containers. Being copied from openvz, your rootfs might not have
those.

-- 
Fajar
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to