Files
Dan Čermák 5a2405ae1b Don't mount /dev/tty* inside privileged containers running systemd
According to https://systemd.io/CONTAINER_INTERFACE/, systemd will try take
control over /dev/ttyN if exported, which can cause conflicts with the host's tty
in privileged containers. Thus we will not expose these to privileged containers
in systemd mode, as this is a bad idea according to systemd's maintainers.

Additionally, this commit adds a bats regression test to check that no /dev/ttyN
are present in a privileged container in systemd mode

This fixes https://github.com/containers/podman/issues/15878

Signed-off-by: Dan Čermák <dcermak@suse.com>
2022-09-22 16:44:26 +02:00
..
2022-01-18 12:47:07 +01:00
2022-09-20 15:34:27 -04:00
2017-11-01 11:24:59 -04:00
2022-09-20 15:34:27 -04:00
2022-09-10 07:52:00 -04:00
2022-09-10 07:52:00 -04:00
2022-09-10 07:52:00 -04:00
2022-01-18 12:47:07 +01:00
2022-09-20 15:34:27 -04:00
2022-09-10 07:52:00 -04:00
2022-09-20 15:34:27 -04:00
2022-09-10 07:52:00 -04:00
2022-09-20 15:34:27 -04:00
2022-09-20 15:34:27 -04:00
2022-09-10 07:52:00 -04:00
2022-09-10 07:52:00 -04:00
2022-09-10 07:52:00 -04:00
2022-09-08 22:55:52 +02:00
2022-04-25 13:23:20 +02:00
2022-09-20 15:34:27 -04:00
2022-09-20 15:34:27 -04:00
2022-09-01 13:02:01 -04:00
2022-09-01 13:02:01 -04:00
2022-01-18 12:47:07 +01:00
2022-07-21 14:50:01 -04:00
2022-09-10 07:52:00 -04:00
2022-09-20 15:34:27 -04:00
2022-09-20 15:34:27 -04:00
2022-09-10 07:52:00 -04:00
2022-09-20 15:34:27 -04:00
2022-06-23 09:11:57 -04:00
2022-09-10 07:52:00 -04:00
2022-01-18 12:47:07 +01:00
2022-09-10 07:52:00 -04:00
2022-09-10 07:52:00 -04:00