spiegel_podman/pkg/specgen/generate
Matthew Heon dc2ca45d75 When determining systemd mode, use full command
We were only using the Command field in specgen when determining
whether to enable systemd if systemd=true (the default) was used.
This does not include the entrypoint, and does not include any
entrypoint/command sourced from the image - so an image could be
running systemd and we'd not correctly detect this. Using the
full, final command resolves this and matches Podman v1.9.x
behavior.

Fixes #6920

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-07-14 12:55:37 -04:00
..
config_linux.go Remove dependency on github.com/opencontainers/libpod/configs 2020-07-09 10:03:40 -04:00
config_linux_cgo.go move go module to v2 2020-07-06 15:50:12 +02:00
config_linux_nocgo.go move go module to v2 2020-07-06 15:50:12 +02:00
container.go Pids-limit should only be set if the user set it 2020-07-10 12:46:16 -04:00
container_create.go When determining systemd mode, use full command 2020-07-14 12:55:37 -04:00
namespaces.go Add username to /etc/passwd inside of container if --userns keep-id 2020-07-07 08:34:31 -04:00
oci.go When determining systemd mode, use full command 2020-07-14 12:55:37 -04:00
pod_create.go Fix container and pod create commands for remote create 2020-07-10 11:22:23 -04:00
ports.go move go module to v2 2020-07-06 15:50:12 +02:00
security.go move go module to v2 2020-07-06 15:50:12 +02:00
storage.go move go module to v2 2020-07-06 15:50:12 +02:00
validate.go move go module to v2 2020-07-06 15:50:12 +02:00