mirror of https://github.com/containers/podman.git
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> |
||
---|---|---|
.. | ||
camelcase | ||
filters.go | ||
filters_test.go | ||
kube.go | ||
mountOpts.go | ||
mountOpts_linux.go | ||
mountOpts_other.go | ||
utils.go | ||
utils_darwin.go | ||
utils_freebsd.go | ||
utils_linux.go | ||
utils_linux_test.go | ||
utils_supported.go | ||
utils_test.go | ||
utils_unsupported.go | ||
utils_windows.go |