podman/test/e2e
Giuseppe Scrivano 720eb85ba5 rootless: fix exec
We cannot re-exec into a new user namespace to gain privileges and
access an existing as the new namespace is not the owner of the
existing container.

"unshare" is used to join the user namespace of the target container.

The current implementation assumes that the main process of the
container didn't create a new user namespace.

Since in the setup phase we are not running with euid=0, we must skip
the setup for containers/storage.

Closes: https://github.com/containers/libpod/issues/1329

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #1331
Approved by: rhatdan
2018-08-26 07:22:42 +00:00
..
hooks Add hooks support to podman 2018-04-05 14:13:49 +00:00
attach_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
commit_test.go Integration Test Improvements #3 2018-08-01 13:01:44 +00:00
create_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
diff_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
exec_test.go Swap test image in exec test to fedora for useradd 2018-08-23 12:07:59 +00:00
export_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
history_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
images_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
import_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
info_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
inspect_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
kill_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
libpod_suite_test.go Change pause container to infra container 2018-08-23 18:16:28 +00:00
load_test.go Fix ambiguity in adding localhost to podman save 2018-08-08 21:04:11 +00:00
logs_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
mount_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
namespace_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
pause_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
pod_create_test.go Added option to share kernel namespaces in libpod and podman 2018-08-23 18:16:28 +00:00
pod_infra_container_test.go Change pause container to infra container 2018-08-23 18:16:28 +00:00
pod_inspect_test.go Added option to share kernel namespaces in libpod and podman 2018-08-23 18:16:28 +00:00
pod_kill_test.go Added option to share kernel namespaces in libpod and podman 2018-08-23 18:16:28 +00:00
pod_pause_test.go Added option to share kernel namespaces in libpod and podman 2018-08-23 18:16:28 +00:00
pod_ps_test.go Added option to share kernel namespaces in libpod and podman 2018-08-23 18:16:28 +00:00
pod_restart_test.go Added option to share kernel namespaces in libpod and podman 2018-08-23 18:16:28 +00:00
pod_rm_test.go Added option to share kernel namespaces in libpod and podman 2018-08-23 18:16:28 +00:00
pod_start_test.go Added option to share kernel namespaces in libpod and podman 2018-08-23 18:16:28 +00:00
pod_stats_test.go Fixing network ns segfault 2018-08-23 18:16:28 +00:00
pod_stop_test.go Added option to share kernel namespaces in libpod and podman 2018-08-23 18:16:28 +00:00
pod_top_test.go Fixing network ns segfault 2018-08-23 18:16:28 +00:00
port_test.go exposes tcp port only if no proto specified. 2018-08-24 14:31:38 +00:00
ps_test.go Added option to share kernel namespaces in libpod and podman 2018-08-23 18:16:28 +00:00
pull_test.go Integration Test Improvements #2 2018-07-30 23:53:08 +00:00
push_test.go Integration Test Improvements #3 2018-08-01 13:01:44 +00:00
refresh_test.go Integration Test Improvements #3 2018-08-01 13:01:44 +00:00
restart_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
rm_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
rmi_test.go Integration Test Improvements #3 2018-08-01 13:01:44 +00:00
rootless_test.go rootless: fix exec 2018-08-26 07:22:42 +00:00
run_cgroup_parent_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
run_cleanup_test.go Integration Test Improvements #3 2018-08-01 13:01:44 +00:00
run_cpu_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
run_device_test.go Fix handling of devices 2018-08-20 13:42:07 +00:00
run_dns_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
run_entrypoint_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
run_exit_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
run_memory_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
run_networking_test.go podman: fix --uts=host 2018-08-17 08:17:43 +00:00
run_ns_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
run_privileged_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
run_restart_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
run_signal_test.go Use REGISTRIES_CONFIG_PATH for all tests 2018-08-02 12:40:14 +00:00
run_test.go Use REGISTRIES_CONFIG_PATH for all tests 2018-08-02 12:40:14 +00:00
run_userns_test.go switch projectatomic to containers 2018-08-16 17:12:36 +00:00
save_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
search_test.go Use REGISTRIES_CONFIG_PATH for all tests 2018-08-02 12:40:14 +00:00
start_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
stats_test.go Fixed segfault in stats where container had netNS none or from container 2018-08-21 15:37:39 +00:00
stop_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
tag_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
top_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
version_test.go Show duration for each ginkgo test and test speed improvements 2018-07-28 22:51:08 +00:00
wait_test.go Speed up test results 2018-07-30 12:26:39 +00:00