3

After creating fresh LXC based on Debian Jessie, on a Ubuntu 14.04, systemd-journal eats all CPU available.

lxc-create -n jessie -t debian
Tombart
  • 2,143
  • 3
  • 27
  • 48

1 Answers1

8

As mentioned in Debian wiki:

Add to container's config /var/lib/lxc/{container}/config:

lxc.autodev = 1
lxc.kmsg = 0

and comment out /var/lib/lxc/{container}/rootfs/lib/systemd/system/getty@.service

  ConditionPathExists=/dev/tty0

Then restart container. Same problem with Fedora host mentioned here

Tombart
  • 2,143
  • 3
  • 27
  • 48