containerd/runtime/v2/shim
Fabiano Fidêncio d80dbdae68 v2, util: Take the full binary path when starting the shimv2 process
The current code simply ignores the full binary path when starting the
shimv2 process, and instead fallbacks to a binary in the path, and this
is problematic (and confusing) for those using CRI-O, which has this
bits vendored.

The reason it's problematic with CRI-O is because the user can simply
set the full binary path and, instead of having that executed, CRI-O
will simply fail to create the container unless that binary is part of
the path, which may not be case in a few different scenarios (testing
being the most common one).

Fixes: #5006

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
2021-02-05 13:35:22 +01:00
..
publisher.go shim: move event context timeout to publsher 2020-07-20 17:51:10 -07:00
shim_darwin.go Abstract to SocketAddress 2018-07-27 12:39:53 -04:00
shim_freebsd.go Fix freebsd build 2018-12-16 14:27:42 +00:00
shim_linux.go Integrate sys.SetSubreaper, sys.GetSubreaper in sys/reaper package 2020-05-04 08:44:02 +02:00
shim_test.go test: TestRuntimeWithEmptyMaxEnvProcs should cleanup 2020-04-23 22:09:10 +08:00
shim_unix.go Merge pull request from GHSA-36xw-fx78-c5r4 2020-11-30 10:32:18 -08:00
shim_windows.go Completely remove Windows v2 in-tree shim 2019-08-05 16:49:56 -07:00
shim.go Use path based unix socket for shims 2020-11-11 11:47:46 -08:00
util_unix.go Add bounds on max oom_score_adj value for AdjustOOMScore 2020-12-14 15:09:24 -05:00
util_windows.go Use path based unix socket for shims 2020-11-11 11:47:46 -08:00
util.go v2, util: Take the full binary path when starting the shimv2 process 2021-02-05 13:35:22 +01:00