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

Michael Biebl biebl at debian.org
Mon Jul 18 10:05:12 BST 2016


Am 18.07.2016 um 07:56 schrieb Evgeni Golov:
> 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.

This is already fixed in Debian stretch via

https://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?id=44c3369f97bde45fc3866459f583c62d8fe22dd4

So this should at least be dropped for the stretch template.

For jessie, I'm currently preparing a stable upload of v215, so I could
cherry-pick that fix as well.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160718/10311770/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list