[Users] disable getty start for Debian 8 with systemd

CoolCold coolthecold at gmail.com
Sun May 3 09:14:55 PDT 2015


Hello!
Just installed Debian 8 "Jessie" in VE. Used almost the same template
creation script as for Squeeze and started cleaning some things up.

One particular thing I've noted is agetty processes being started for
tty{1..6} via systemd. Some lurking and asking on #systemd at freenode
revealed several possibly solutions:
1) completely disable (note that you should use "mask" command) the
service, like:
systemctl mask getty-static.service
2) use conditional in Unit definition
/lib/systemd/system/getty-static.service
ConditionVirtualization=!openvz

(i'd suggest to use ConditionVirtualization=!lxc for LXC too)

So, knowledge is shared, now the question part.
1) to OpenVZ devs - are there any chances ttys (except console) may be
needed?
2) to Ola Lundqvist , what do you think, is it worth to fill the bug to
Debian's systemd package?



-- 
Best regards,
[COOLCOLD-RIPN]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20150503/fe7d3622/attachment.html>


More information about the Users mailing list