lxc-attach works. But not able to find systemctl?

On Tue, Jun 2, 2015 at 11:24 AM, SIVA SUBRAMANIAN.P <[email protected]>
wrote:

> 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 <[email protected]> wrote:
>
>> On Thu, May 28, 2015 at 5:11 AM, SIVA SUBRAMANIAN.P <[email protected]>
>> 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
>> [email protected]
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
>
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to