diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-07-13 11:03:01 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-07-22 14:28:42 -0400 |
commit | db81bc2c83da22b8d8db5201873b12eceb89e6d7 (patch) | |
tree | 291f7faab3fa6d12d193a7b214cb746164de6117 /pkg/lookup | |
parent | f74a28e08a920dd50eb9377336a6cabbe2d43ff1 (diff) | |
download | podman-db81bc2c83da22b8d8db5201873b12eceb89e6d7.tar.gz podman-db81bc2c83da22b8d8db5201873b12eceb89e6d7.tar.bz2 podman-db81bc2c83da22b8d8db5201873b12eceb89e6d7.zip |
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>
<MH: Fixed compile after backport>
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'pkg/lookup')
0 files changed, 0 insertions, 0 deletions