diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-08-03 20:21:27 +0200 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2018-10-29 10:18:33 +0100 |
commit | 74aa0d64f922ae65cdea1a62059e4c2d5d7c51f6 (patch) | |
tree | f5bafd62ee1b16720824a76bd3ce7601af3c0c4e /src/login/loginctl.c | |
parent | 2ed4fb674fc0d3e214b00579f436199b3d1babbc (diff) |
logind: improve logging in manager_connect_console()
let's make sure we log about every failure
Also, complain about systems where /dev/tty0 exists but
/sys/class/tty/tty0/active does not. Such systems (usually container
environments) are pretty broken as they mount something that is not a VC
to /dev/tty0 and they really shouldn't.
Systems should either have a VC or not, but not badly fake one by
mounting things wildly.
This just adds a warning message, as before we'll simply turn off VC
handling in this case.
(cherry picked from commit 0b6d55cae9b8adc507fbea95d1b2874729a77386)
Diffstat (limited to 'src/login/loginctl.c')
0 files changed, 0 insertions, 0 deletions