]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/execute.c
execute: handle gracefully if we cannot lock /dev/console when resetting tty due...
authorLennart Poettering <lennart@poettering.net>
Wed, 6 Dec 2023 15:37:18 +0000 (16:37 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 12 Dec 2023 13:02:12 +0000 (22:02 +0900)
commitf121efd392d1f1ad51bf1e3e6de443858963e5df
tree3b1047dfc0af1d4d43f33774ff36c0149c532ea3
parent1c860010ceeda0830efd736cc99f670fe2a477a8
execute: handle gracefully if we cannot lock /dev/console when resetting tty due to perms

This is the common case in --user instances, hence handle this
gracefully.

This should be safe since user instances won't get access to
/dev/console-related ttys anyway, but only their own ptys.
src/core/execute.c