[lxc-users] Systemd inside lxc

SIVA SUBRAMANIAN.P psiva87 at gmail.com
Tue Jun 2 18:24:50 UTC 2015


Thanks Fajar,
Migrated to latest 1.1.2 version. But logging into container is struck as
below, not getting the prompt.

$lxc-console -n XRE
Connected to tty 1
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself

On Wed, May 27, 2015 at 9:23 PM, Fajar A. Nugraha <list at fajar.net> wrote:

> On Thu, May 28, 2015 at 5:11 AM, SIVA SUBRAMANIAN.P <psiva87 at gmail.com>
> wrote:
> > Hi,
> > I'm compiling lxc in linux using yocto, how can I add systemd support to
> the
> > lxc containers.
>
> Short version: you need up-to-date systemd on the container and
> up-to-date lxc on the host (preferably 1.1.2, with lxcfs installed as
> well). Also note that it currently only works fine for privileged
> containers (the default when containers are created by root).
>
> For the host, the easiest way is to use ubuntu 14.04 +
> https://launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxc-stable
>
> For the containers:
> - if you use ubuntu vivid containers, it should just work.
> - if you use centos 7 containers, you can either compile your own
> systemd (latest at 220) or use my packages (built from 219):
>
> https://lists.linuxcontainers.org/pipermail/lxc-users/2015-March/008658.html
> - if you use other distro/versions, try compiling systemd 220.
>
> --
> Fajar
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150602/63007e5b/attachment.html>


More information about the lxc-users mailing list