On Wed, 10 Sep 2014 21:24:07 +0200 Kurt Roeckx <k...@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@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?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers