[pkg-lxc-devel] Bug#824779: container getty-static.service causes lxcfs high cpu usage

Evgeni Golov evgeni at debian.org
Mon Jul 18 05:56:48 UTC 2016


Hi again,

On Mon, Jul 18, 2016 at 12:30:34AM +0200, Michael Biebl wrote:
> > I assume this file was created by lxc.
> > Apparently the lxc maintainers decided it is useful to have a getty on
> > tty1-tty4? lxc maintainers, could you give us some input here, why
> > getty-static.service was not completely disabled.
> 
> The generated lxc chroot has more interesting stuff:
> 
> - systemd-udevd.service and udev.service are masked
> - sigpwr.target points to /lib/systemd/system/halt.target
> - getty at .service and getty-static.service are overriden.

As mentioned in the earlier mail, most of these come from the Fedora
template. I pinged LXC upstream on IRC about this thread, so I hope they
will chime in as soon they have some time.

wrt SIGPWR: iirc lxc-stop will issue SIGPWR to the container to stop it,
and this was needed to properly halt the system.

Regards
Evgeni



More information about the Pkg-lxc-devel mailing list