<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 05/03/2015 09:14 AM, CoolCold wrote:<br>
</div>
<blockquote
cite="mid:CAGqmV7oy97mNEJ2MiO6gau5wwZtKEruV8CVJBjwxixHq5earjg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hello!<br>
Just installed Debian 8 "Jessie" in VE. Used almost
the same template creation script as for Squeeze and
started cleaning some things up.<br>
</div>
<br>
One particular thing I've noted is agetty processes
being started for tty{1..6} via systemd. Some lurking
and asking on #systemd@freenode revealed several
possibly solutions:<br>
</div>
1) completely disable (note that you should use "mask"
command) the service, like:<br>
systemctl mask getty-static.service<br>
</div>
2) use conditional in Unit definition <br>
/lib/systemd/system/getty-static.service<br>
ConditionVirtualization=!openvz<br>
<br>
</div>
(i'd suggest to use ConditionVirtualization=!lxc for LXC
too)<br>
<br>
</div>
So, knowledge is shared, now the question part.<br>
</div>
<div>1) to OpenVZ devs - are there any chances ttys (except
console) may be needed?<br>
</div>
</div>
</blockquote>
<br>
Yes, you can use vzctl console $CTID $TTYNUM to get a console for
those.<br>
In our recent templates we have getty on tty1 and tty2 configured<br>
(just in case /dev/tty1 is screwed you can have it on /dev/tty2).<br>
<br>
We were disabling it before because there was no /dev/tty
virtualization and getty<br>
processes kept respawning leading to waste of CPU time and some
nasty log<br>
messages ("getty respawining too fast, disabling for 5 minutes" or
so if I remember<br>
correctly). Nowadays there's no need to disable it.<br>
<br>
<br>
<blockquote
cite="mid:CAGqmV7oy97mNEJ2MiO6gau5wwZtKEruV8CVJBjwxixHq5earjg@mail.gmail.com"
type="cite">
<div dir="ltr">2) to Ola Lundqvist , what do you think, is it
worth to fill the bug to Debian's systemd package?<br>
<br>
<div>
<div>
<div><br clear="all">
<div>
<div>
<div>
<div>
<div><br>
-- <br>
<div class="gmail_signature">Best regards,<br>
[COOLCOLD-RIPN] </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openvz.org">Users@openvz.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openvz.org/mailman/listinfo/users">https://lists.openvz.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>