Bug#760996: systemd: Doesn't lock/allocate VT

Michael Biebl biebl at debian.org
Mon Dec 19 08:51:53 GMT 2016


On Wed, 10 Sep 2014 21:24:07 +0200 Kurt Roeckx <kurt at roeckx.be> wrote:
> On Wed, Sep 10, 2014 at 09:19:17PM +0200, Michael Biebl wrote:
> > Hi Kurt,
> > 
> > Am 09.09.2014 21:24, schrieb Michael Biebl:
> > > Am 09.09.2014 21:14, schrieb Kurt Roeckx:
> > >> On Tue, Sep 09, 2014 at 08:41:58PM +0200, Michael Biebl wrote:
> > >>>
> > >>> You can do that, yes.
> > >>> for i in `seq 2 6` ; do
> > >>> 	systemctl enable getty at tty$i.service
> > >>> done
> > >>
> > >> Are you suggesting I put that in some file so that it gets run on
> > >> every boot?
> > > 
> > > No, you only need to enable the gettys once.
> > > This will create (persistent) symlinks in
> > > /etc/systemd/system/getty.target.wants/
> > 
> > Does that sufficiently answer your question?
> 
> I understand your reply, and I have no problem doing this on all
> the boxes I use, but I was really hoping for an answer where there
> wasn't a need to run agetty on it them and that it was still have
> the behaviour I want, if that makes sense.

I guess running the getty is basically the "locking" you are looking
for. Reading logind.conf's man page, especially NAutoVTs=, explicitly
says that this controls the number of VTs not the ttyS specifically.

If I understood you correctly, you want ReserveVT= basically, but not
just for one terminal but many, like e.g.
ReserveVT=1 2 3 4 5 6

If that's the case, would you mind filing this as a feature request
upstream at https://github.com/systemd/systemd/issues

Maybe upstream is open to extend ReserveVT= in this way.

Regards,
Michael


-- 
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: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20161219/f3dcd855/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list