Bug#824779: container getty-static.service causes lxcfs high cpu usage

Martin Pitt mpitt at debian.org
Sat Jul 16 14:34:20 BST 2016


Control: tag -1 pending

Wang Jian [2016-05-19 23:59 +0800]:
> getty-static.service starts getty on tty2-6, but container has only 4
> ttys (1-4) at default. getty will exit and be respawned for tty5-tty6.
> This leads to high cpu usage on host's lxcfs daemon.
> 

There is no point in even wasting four getty processes on tty1-4 in
LXC -- containers are not meant to have gettys on ttys in the first
place. I committed a fix to git for that.
(ConditionVirtualization=!container)

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the Pkg-systemd-maintainers mailing list