]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: stop managing VT switches if no sessions are registered on that VT 9961/head
authorFranck Bui <fbui@suse.com>
Mon, 27 Aug 2018 21:16:10 +0000 (23:16 +0200)
committerFranck Bui <fbui@suse.com>
Wed, 21 Nov 2018 13:29:01 +0000 (14:29 +0100)
commitadb8688b3ff445d9c48ed0d72208c7844c2acc01
treee4388200cccca4a58bf0cc69a278566de15c2e95
parent27dafac92b660eb7c2268b824b0b3df95e62869e
logind: stop managing VT switches if no sessions are registered on that VT

When no sessions are registered on a given VT (anymore), we should always let
the kernel processes VT switching (instead of simply emitting a warning)
otherwise the requests sent by the kernel are simply ignored making the VT
switch requested by users simply impossible.

Even if it shouldn't happen, this case was encountered in issue #9754, so
better to be safe than sorry.
src/login/logind.c