summaryrefslogtreecommitdiff
path: root/test/e2e/run_entrypoint_test.go
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2020-12-01 14:51:11 -0500
committerMatthew Heon <mheon@redhat.com>2020-12-07 15:19:42 -0500
commit688a6f1dd57e847c4d4ad8dc900b7e0adfa70c04 (patch)
tree9dba2e467e78a857cfaa3665e601f05e0e30a998 /test/e2e/run_entrypoint_test.go
parente5511addcb4565333fd23433aac521b6af9d4e9a (diff)
downloadpodman-688a6f1dd57e847c4d4ad8dc900b7e0adfa70c04.tar.gz
podman-688a6f1dd57e847c4d4ad8dc900b7e0adfa70c04.tar.bz2
podman-688a6f1dd57e847c4d4ad8dc900b7e0adfa70c04.zip
Do not use "true" after "syslog" in exit commands
Instead of being interpreted as an argument to the boolean flag, the 'true' is being intepreted as the Podman command to be run - so we're trying to run `podman true`, which does not exist. This causes the cleanup command to fail when `--log-level=debug` is set, so containers are not cleaned up or removed. This problem is easily reproduced with any command combining the `--rm`, `-d`, and `--log-level=debug` flags - the command will execute and exit, but the container will not be removed. Separate, but worth looking into later: the errors we get on trying `podman true` with any flags are terrible - if you just type `podman true` you get a quite sane "Unrecognized command" error, but if you try `podman true --rm` you get an "unknown flag --rm" error - which makes very little sense given the command itself doesn't exist. Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'test/e2e/run_entrypoint_test.go')
0 files changed, 0 insertions, 0 deletions