Bug#855209: systemd ignores configuration for getty when switching and autostarting a new vt

Felipe Sateler fsateler at debian.org
Wed Feb 15 15:49:25 GMT 2017


On Wed, Feb 15, 2017 at 11:28 AM, Salvo Tomaselli <tiposchi at tiscali.it> wrote:
> Package: systemd
> Version: 232-18
> Severity: normal
>
> Dear Maintainer,
> I want to have logs on tty6, rather than a login shell.
>
> I created a file called /etc/systemd/system/getty at tty6.service
>
> What happens is that if I press ctrl+alt+f6, I get a login shell.
>
> However, if after that I give
>
> # service getty at tty6 stop
> # service getty at tty6 start
>
> and then switch again to tty6 with ctrl+alt+f6, then I will see
> the wanted tail of logs.

I think the problem is that logind actually tries to start
autovt at tty6. Thus the chain is:

autovt at tty6
=> resolved as instance of autovt@
=> resolved as alias of getty@

The whole alias thing is very weird , as aliasing depends on load
orer. There is discussion upstream of better handling but not fixed
yet.

In the meantime, you should be able to fix the issue via `ln -s
getty at tty6.service /etc/systemd/system/autovt at tty6.service`

-- 

Saludos,
Felipe Sateler




More information about the Pkg-systemd-maintainers mailing list