chiark / gitweb /
core: make systemd.confirm_spawn=1 actually work
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Jun 2012 10:16:18 +0000 (12:16 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Jun 2012 10:21:43 +0000 (12:21 +0200)
commitaf6da548aa14c57da7f17b3a1f2211efdb811d19
treee118258cb9795ee0b80b656c9aca121cf7bc8b3e
parent0c7f15b3a95c3596a4756de5c44eb1fdcd0034fc
core: make systemd.confirm_spawn=1 actually work

This adds a timeout if the TTY cannot be acquired and makes sure we
always output the question to the console, never to the TTY of the
respective service.
TODO
src/core/execute.c
src/core/main.c
src/core/manager.c
src/shared/def.h
src/shared/util.c
src/shared/util.h
src/tty-ask-password-agent/tty-ask-password-agent.c