spiegel_podman/pkg
Matthew Heon 688a6f1dd5 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>
2020-12-07 15:19:42 -05:00
..
annotations Add ContainerManager annotation to created containers 2019-09-10 09:37:14 +02:00
api target is not tag 2020-12-07 15:16:10 -05:00
auth Add X-Registry-Config support 2020-09-29 08:46:44 -07:00
autoupdate Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
bindings Change bindings to stop two API calls for ping 2020-12-07 14:54:33 -05:00
cgroups pkg/cgroups/createCgroupv2Path: nits 2020-10-05 15:57:57 -07:00
channel fix closed the remote connection on pull causes service panic 2020-10-03 11:38:38 +08:00
checkpoint Lowercase some errors 2020-10-05 15:56:44 -07:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain Use Libpod tmpdir for pause path 2020-12-07 14:56:03 -05:00
env Ensure DefaultEnvVariables is used in Specgen 2020-08-18 15:17:46 -04:00
errorhandling remote run: fix error checks 2020-09-11 12:41:15 +02:00
hooks pkg/hooks: support all hooks 2020-09-22 14:44:09 +02:00
inspect Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
lookup Turn on More linters 2020-06-15 07:05:56 -04:00
namespaces [CI:DOCS] BZ1860126 - Fix userns defaults in run man page 2020-08-07 15:42:13 -04:00
netns Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
parallel Move pod jobs to parallel execution 2020-10-07 10:00:11 -04:00
ps Align the podman ps --filter behavior with docker 2020-11-18 11:36:06 +01:00
registrar Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
registries pkg/registries: add a retiring note 2020-09-30 16:30:41 +02:00
resolvconf Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
rootless Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
rootlessport rootlessport: use two different channels 2020-04-29 12:35:23 +02:00
seccomp apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Turn on More linters 2020-06-15 07:05:56 -04:00
spec Add better support for unbindable volume mounts 2020-11-02 07:19:12 -05:00
specgen Do not use "true" after "syslog" in exit commands 2020-12-07 15:19:42 -05:00
systemd Add shell completion with cobra 2020-11-12 11:38:31 +01:00
terminal Support hashed hostnames in the known_hosts file 2020-10-27 12:19:44 +01:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust Lowercase some errors 2020-10-05 15:56:44 -07:00
util Use Libpod tmpdir for pause path 2020-12-07 14:56:03 -05:00
varlink Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
varlinkapi save image remove signatures 2020-10-21 10:00:08 -04:00