mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
docs: document that systemd closes console during normal runtime
fixes #21451 Signed-off-by: Arvid E. Picciani <aep@exys.org>
This commit is contained in:
parent
81513b382b
commit
312dac2869
@ -37,7 +37,10 @@ manager, please consider supporting the following interfaces.
|
|||||||
in this context.)
|
in this context.)
|
||||||
|
|
||||||
3. Pre-mount `/dev/` as (container private) `tmpfs` for the container and bind
|
3. Pre-mount `/dev/` as (container private) `tmpfs` for the container and bind
|
||||||
mount some suitable TTY to `/dev/console`. Also, make sure to create device
|
mount some suitable TTY to `/dev/console`. If this is a pty, make sure to not
|
||||||
|
close the controling pty master during systemd's lifetime. PID1 will close ttys,
|
||||||
|
to avoid being killed by SAK. It only opens ttys for the time it
|
||||||
|
actually needs to print something. Also, make sure to create device
|
||||||
nodes for `/dev/null`, `/dev/zero`, `/dev/full`, `/dev/random`,
|
nodes for `/dev/null`, `/dev/zero`, `/dev/full`, `/dev/random`,
|
||||||
`/dev/urandom`, `/dev/tty`, `/dev/ptmx` in `/dev/`. It is not necessary to
|
`/dev/urandom`, `/dev/tty`, `/dev/ptmx` in `/dev/`. It is not necessary to
|
||||||
create `/dev/fd` or `/dev/stdout`, as systemd will do that on its own. Make
|
create `/dev/fd` or `/dev/stdout`, as systemd will do that on its own. Make
|
||||||
|
Loading…
Reference in New Issue
Block a user