a0157078ad
We weren't setting the logPath of the sandbox when restoring sandboxes and containers upon a crio restarts. That means that if you restart CRI-O you get sandboxes with empty logPath. That means that when you're starting a container in a restored sandbox you get a relative logPath for the container: sandboxLogPath: "/var/something" - restore sandboxLogPath: "" - create container foo containerLogPath: "foo_attempt.log" With this patch we actually get an absolute path (which is correct): sandboxLogPath: "/var/something" - restore sandboxLogPath: "/var/something" - create container foo containerLogPath: "/var/something/foo_attempt.log" Signed-off-by: Antonio Murdaca <runcom@redhat.com> |
||
---|---|---|
.. | ||
sandbox | ||
testdata | ||
config.go | ||
config_test.go | ||
container.go | ||
container_server.go | ||
hooks.go | ||
kill.go | ||
logs.go | ||
pause.go | ||
remove.go | ||
rename.go | ||
stats.go | ||
stop.go | ||
wait.go |