From fc32439c298a107bd31f64fb7b6d396bce525e57 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Tue, 25 Jun 2019 15:06:15 -0400 Subject: Remove refs to crio/conmon Conmon has moved out of cri-o and into it's own dedicated repository. This commit updates configuration and definitions which referenced the old cri-o based paths. Signed-off-by: Chris Evich --- libpod.conf | 7 ++----- libpod/runtime.go | 3 --- test/e2e/common_test.go | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/libpod.conf b/libpod.conf index 32f7a56ae..2b5df0e66 100644 --- a/libpod.conf +++ b/libpod.conf @@ -7,15 +7,12 @@ image_default_transport = "docker://" # Paths to look for the Conmon container manager binary conmon_path = [ "/usr/libexec/podman/conmon", - "/usr/libexec/crio/conmon", + "/usr/local/libexec/podman/conmon", "/usr/local/lib/podman/conmon", - "/usr/local/libexec/crio/conmon", "/usr/bin/conmon", "/usr/sbin/conmon", "/usr/local/bin/conmon", - "/usr/local/sbin/conmon", - "/usr/lib/podman/bin/conmon", - "/usr/lib/crio/bin/conmon" + "/usr/local/sbin/conmon" ] # Environment variables to pass into conmon diff --git a/libpod/runtime.go b/libpod/runtime.go index 52ce8062b..04d76a4e1 100644 --- a/libpod/runtime.go +++ b/libpod/runtime.go @@ -287,14 +287,11 @@ func defaultRuntimeConfig() (RuntimeConfig, error) { }, ConmonPath: []string{ "/usr/libexec/podman/conmon", - "/usr/libexec/crio/conmon", "/usr/local/lib/podman/conmon", - "/usr/local/libexec/crio/conmon", "/usr/bin/conmon", "/usr/sbin/conmon", "/usr/local/bin/conmon", "/usr/local/sbin/conmon", - "/usr/lib/crio/bin/conmon", }, ConmonEnvVars: []string{ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index 8b6eab892..c3a37236b 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -195,7 +195,7 @@ func PodmanTestCreateUtil(tempDir string, remote bool) *PodmanTestIntegration { } } conmonBinary := filepath.Join("/usr/libexec/podman/conmon") - altConmonBinary := "/usr/libexec/crio/conmon" + altConmonBinary := "/usr/bin/conmon" if _, err := os.Stat(conmonBinary); os.IsNotExist(err) { conmonBinary = altConmonBinary } -- cgit v1.2.3-54-g00ecf