[lxc-users] Yum hangs on CentOS 7 [Host] -> CentOS [Guest] privileged container

Fajar A. Nugraha list at fajar.net
Tue Feb 9 10:40:12 UTC 2016


On Tue, Feb 9, 2016 at 5:11 PM, Rahul Rege <rahul.rege at sungardas.com> wrote:

> Forgot to update it.
>
> I think the problem was with the systemd-journalctl consuming 99.9% CPU
> leading to the hangs. I retested it with some of the packages it was
> failing for and as long as I had it killed, everything works ok.
>
>
What is your setup like? What lxc-related packages, which versions, where
they're from.

AFAIK systemd-based containers (including c7) needs lxcfs installed on the
host. And the host OS that is most tested to run lxc is ubuntu (debian can
work as well, if you're willing to port some ubuntu packages).

My GUESS is you don't have lxcfs installed on the host.

As an alternative, if it's the CONTAINER's systemd that's hanging, you can
test my updated systemd packages for c7, which works great even in unpriv
container:
http://lxc-users.linuxcontainers.narkive.com/O71XtgHR/working-unprivileged-centos-7-container-under-ubuntu

Fair warning though: systemd is an essential core port of the OS, and
improper modification can lead to unusable system. Use at your own risk.

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160209/687a5e5d/attachment.html>


More information about the lxc-users mailing list