spiegel_podman/test/e2e
Matthew Heon d34b1e7ad5 Ensure rootless containers without a passwd can start
We want to modify /etc/passwd to add an entry for the user in
question, but at the same time we don't want to require the
container provide a /etc/passwd (a container with a single,
statically linked binary and nothing else is perfectly fine and
should be allowed, for example). We could create the passwd file
if it does not exist, but if the container doesn't provide one,
it's probably better not to make one at all. Gate changes to
/etc/passwd behind a stat() of the file in the container
returning cleanly.

Fixes #7515

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-09-01 10:59:34 -04:00
..
build fix podman cp can create an extra directory level 2020-06-15 23:56:45 +08:00
config Properly handle containers.conf devices 2020-05-01 15:00:26 -04:00
hooks Add hooks support to podman 2018-04-05 14:13:49 +00:00
sign fix bug podman sign storage path 2020-08-11 12:15:12 +02:00
attach_test.go move go module to v2 2020-07-06 15:52:17 +02:00
build_test.go move go module to v2 2020-07-06 15:52:17 +02:00
checkpoint_test.go move go module to v2 2020-07-06 15:52:17 +02:00
commit_test.go move go module to v2 2020-07-06 15:52:17 +02:00
common_test.go Error on rootless mac and ip addresses 2020-07-22 14:13:43 -04:00
config.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
config_amd64.go Fix systemd pid 1 test 2020-07-15 11:42:04 +02:00
config_ppc64le.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
container_inspect_test.go move go module to v2 2020-07-06 15:52:17 +02:00
containers_conf_test.go move go module to v2 2020-07-06 15:52:17 +02:00
cp_test.go move go module to v2 2020-07-06 15:52:17 +02:00
create_staticip_test.go Error on rootless mac and ip addresses 2020-07-22 14:13:43 -04:00
create_staticmac_test.go Error on rootless mac and ip addresses 2020-07-22 14:13:43 -04:00
create_test.go error when adding container to pod with network information 2020-08-24 11:31:37 -04:00
diff_test.go move go module to v2 2020-07-06 15:52:17 +02:00
events_test.go events endpoint: fix panic and race condition 2020-07-21 16:56:26 +02:00
exec_test.go Correctly print STDOUT on non-terminal remote exec 2020-07-22 14:41:17 -04:00
exists_test.go move go module to v2 2020-07-06 15:52:17 +02:00
export_test.go move go module to v2 2020-07-06 15:52:17 +02:00
generate_kube_test.go move go module to v2 2020-07-06 15:52:17 +02:00
generate_systemd_test.go generate systemd: fix error handling 2020-08-11 11:12:44 +02:00
healthcheck_run_test.go move go module to v2 2020-07-06 15:52:17 +02:00
history_test.go move go module to v2 2020-07-06 15:52:17 +02:00
image_sign_test.go fix bug podman sign storage path 2020-08-11 12:15:12 +02:00
images_test.go move go module to v2 2020-07-06 15:52:17 +02:00
import_test.go move go module to v2 2020-07-06 15:52:17 +02:00
info_test.go version/info: format: allow more json variants 2020-07-22 14:42:53 -04:00
init_test.go move go module to v2 2020-07-06 15:52:17 +02:00
inspect_test.go move go module to v2 2020-07-06 15:52:17 +02:00
kill_test.go move go module to v2 2020-07-06 15:52:17 +02:00
libpod_suite_remote_test.go Error on rootless mac and ip addresses 2020-07-22 14:13:43 -04:00
libpod_suite_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
libpod_suite_varlink_test.go move go module to v2 2020-07-06 15:52:17 +02:00
load_test.go move go module to v2 2020-07-06 15:52:17 +02:00
login_logout_test.go move go module to v2 2020-07-06 15:52:17 +02:00
logs_test.go fix podman logs --tail when log is bigger than pagesize 2020-08-11 11:14:56 +02:00
manifest_test.go move go module to v2 2020-07-06 15:52:17 +02:00
mount_rootless_test.go Cleanup handling of podman mount/unmount 2020-08-20 13:35:11 -04:00
mount_test.go Cleanup handling of podman mount/unmount 2020-08-20 13:35:11 -04:00
namespace_test.go move go module to v2 2020-07-06 15:52:17 +02:00
negative_test.go move go module to v2 2020-07-06 15:52:17 +02:00
network_create_test.go podman support for IPv6 networks 2020-08-20 12:16:52 -04:00
network_test.go move go module to v2 2020-07-06 15:52:17 +02:00
pause_test.go move go module to v2 2020-07-06 15:52:17 +02:00
play_kube_test.go Publish IP from YAML (podman play kube) 2020-08-04 16:52:32 -04:00
pod_create_test.go Error on rootless mac and ip addresses 2020-07-22 14:13:43 -04:00
pod_infra_container_test.go move go module to v2 2020-07-06 15:52:17 +02:00
pod_inspect_test.go Fix lint 2020-07-22 14:20:14 -04:00
pod_kill_test.go move go module to v2 2020-07-06 15:52:17 +02:00
pod_pause_test.go move go module to v2 2020-07-06 15:52:17 +02:00
pod_pod_namespaces.go move go module to v2 2020-07-06 15:52:17 +02:00
pod_prune_test.go move go module to v2 2020-07-06 15:52:17 +02:00
pod_ps_test.go move go module to v2 2020-07-06 15:52:17 +02:00
pod_restart_test.go move go module to v2 2020-07-06 15:52:17 +02:00
pod_rm_test.go move go module to v2 2020-07-06 15:52:17 +02:00
pod_start_test.go move go module to v2 2020-07-06 15:52:17 +02:00
pod_stats_test.go move go module to v2 2020-07-06 15:52:17 +02:00
pod_stop_test.go move go module to v2 2020-07-06 15:52:17 +02:00
pod_top_test.go move go module to v2 2020-07-06 15:52:17 +02:00
port_test.go move go module to v2 2020-07-06 15:52:17 +02:00
prune_test.go move go module to v2 2020-07-06 15:52:17 +02:00
ps_test.go add {{.RunningFor}} placeholder in ps --format 2020-07-31 11:44:53 -04:00
pull_test.go move go module to v2 2020-07-06 15:52:17 +02:00
push_test.go move go module to v2 2020-07-06 15:52:17 +02:00
restart_test.go move go module to v2 2020-07-06 15:52:17 +02:00
rm_test.go move go module to v2 2020-07-06 15:52:17 +02:00
rmi_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_apparmor_test.go Support default profile for apparmor 2020-07-22 13:14:15 -04:00
run_cgroup_parent_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_cleanup_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_cpu_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_device_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_dns_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_entrypoint_test.go Fix handling of entrypoint 2020-07-22 14:53:26 -04:00
run_env_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_exit_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_memory_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_networking_test.go fix pod creation with "new:" syntax followup + allow hostname 2020-08-20 14:59:21 -04:00
run_ns_test.go Specifying --ipc=host --pid=host is broken 2020-07-31 11:40:25 -04:00
run_passwd_test.go Ensure rootless containers without a passwd can start 2020-09-01 10:59:34 -04:00
run_privileged_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_restart_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_seccomp.go move go module to v2 2020-07-06 15:52:17 +02:00
run_security_labels.go move go module to v2 2020-07-06 15:52:17 +02:00
run_selinux_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_signal_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_staticip_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_test.go fix pod creation with "new:" syntax followup + allow hostname 2020-08-20 14:59:21 -04:00
run_userns_test.go Make changes to /etc/passwd on disk for non-read only 2020-08-11 15:06:37 +02:00
run_volume_test.go move go module to v2 2020-07-06 15:52:17 +02:00
run_working_dir.go Fix one import path pointing to containers/podman 2020-08-20 12:16:53 -04:00
runlabel_test.go move go module to v2 2020-07-06 15:52:17 +02:00
save_test.go move go module to v2 2020-07-06 15:52:17 +02:00
search_test.go search: allow wildcards 2020-07-15 11:42:04 +02:00
start_test.go implement the exitcode when start a container with attach 2020-08-11 12:15:24 +02:00
stats_test.go move go module to v2 2020-07-06 15:52:17 +02:00
stop_test.go move go module to v2 2020-07-06 15:52:17 +02:00
system_connection_test.go [WIP] Refactor podman system connection 2020-08-20 12:16:53 -04:00
system_df_test.go fix: system df error when an image has no name 2020-07-22 13:49:58 -04:00
system_reset_test.go move go module to v2 2020-07-06 15:52:17 +02:00
systemd_test.go Add SystemdMode to inspect for containers 2020-07-22 14:31:26 -04:00
tag_test.go move go module to v2 2020-07-06 15:52:17 +02:00
test.yaml Add support for RunAsUser and RunAsGroup 2019-11-06 10:35:37 -05:00
top_test.go move go module to v2 2020-07-06 15:52:17 +02:00
tree_test.go move go module to v2 2020-07-06 15:52:17 +02:00
trust_test.go move go module to v2 2020-07-06 15:52:17 +02:00
unshare_test.go move go module to v2 2020-07-06 15:52:17 +02:00
untag_test.go move go module to v2 2020-07-06 15:52:17 +02:00
version_test.go version/info: format: allow more json variants 2020-07-22 14:42:53 -04:00
volume_create_test.go move go module to v2 2020-07-06 15:52:17 +02:00
volume_inspect_test.go move go module to v2 2020-07-06 15:52:17 +02:00
volume_ls_test.go move go module to v2 2020-07-06 15:52:17 +02:00
volume_prune_test.go move go module to v2 2020-07-06 15:52:17 +02:00
volume_rm_test.go move go module to v2 2020-07-06 15:52:17 +02:00
wait_test.go move go module to v2 2020-07-06 15:52:17 +02:00