Debian Patches

Status for libpod/4.3.1+ds1-8+deb12u1

Patch Description Author Forwarded Bugs Origin Last update
test--skip-TestPostDeleteHooks.patch disable failing test~~~~
FAIL: TestPostDeleteHooks (0.00s)
FAIL: TestPostDeleteHooks//tmp/libpod_test_150902934/state (0.00s)
container_internal_test.go:70:
Error Trace: container_internal_test.go:70
Error: Expect "{"ociVersion":"1.0.1","id":"123abc","status":"stopped","bundle":"/tmp/libpod_test_150902934","annotations":{"a":"b"}}" to match "{"ociVersion":"1\.0\.1-dev","id":"123abc","status":"stopped","bundle":"/tmp/libpod_test_[0-9]*","annotations":{"a":"b"}}"
Test: TestPostDeleteHooks//tmp/libpod_test_150902934/state
FAIL: TestPostDeleteHooks//tmp/libpod_test_150902934/copy (0.00s)
container_internal_test.go:70:
Error Trace: container_internal_test.go:70
Error: Expect "{"ociVersion":"1.0.1","id":"123abc","status":"stopped","bundle":"/tmp/libpod_test_150902934","annotations":{"a":"b"}}" to match "{"ociVersion":"1\.0\.1-dev","id":"123abc","status":"stopped","bundle":"/tmp/libpod_test_[0-9]*","annotations":{"a":"b"}}"
Test: TestPostDeleteHooks//tmp/libpod_test_150902934/copy
FAIL: TestMergeEmptyAndDefaultMemoryConfig (0.00s)
config_test.go:30:
Error Trace: config_test.go:30
Error: Expected value not to be nil.
Test: TestMergeEmptyAndDefaultMemoryConfig
config_test.go:31:
Error Trace: config_test.go:31
Error: Expected nil, but got: cannot mkdir /run/user/1000/libpod: mkdir /run/user/1000/libpod: no such file or directory
Test: TestMergeEmptyAndDefaultMemoryConfig
~~~~

===================================================================
Dmitry Smirnov <onlyjob@debian.org> not-needed 2019-06-26
system-goimports.patch =================================================================== no
CVE-2023-0778.patch commit 6ca857feb07a5fdc96fd947afef03916291673d8

volume,container: chroot to source before exporting content

* Utils must support higher level API to create Tar with chrooted into
directory
* Volume export: use TarwithChroot instead of Tar so we can make sure no
symlink can be exported by tar if it exists outside of the source
directory.
* container export: use chroot and Tar instead of Tar so we can make sure no
symlink can be exported by tar if it exists outside of the mointPoint.

[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]
Race needs combination of external/in-container mechanism which is hard to repro in CI.

Closes: BZ:#2168256
CVE: https://access.redhat.com/security/cve/CVE-2023-0778

Signed-off-by: Aditya R <arajan@redhat.com>

===================================================================
Aditya R <arajan@redhat.com> no 2023-02-10
fix-podman-client.patch [PATCH] compat,build: handle docker's preconfigured cacheTo,cacheFrom
Docker's newer clients popuates `cacheFrom` and `cacheTo` parameter
by default as empty array for all commands but buildah's design of
distributed cache expects this to be a repo not image hence parse
only the first populated repo and igore if empty array.
Aditya R <arajan@redhat.com> no 2022-11-02
show-graphroot-before-removal.patch [PATCH] system reset: show graphRoot/runRoot before removal
system reset it says it will delete containers, images, networks, etc...
However it will also delete the graphRoot and runRoot directories.
Normally this is not an issue, however in same cases these directories
were set to the users home directory or some other important system
directory.

As first step simply show the directories that are configured and thus
will be deleted by reset. As future step we could implement some
safeguard will will not delete some known important directories however
I tried to keep it simple for now.

[NO NEW TESTS NEEDED]

see #18349 and #18295
Paul Holzinger <pholzing@redhat.com> no 2023-04-26
fix-removed-container-handling.patch [PATCH] network ls: handle removed container
Handle a race condition in the REST API when listing networks.
In between listing all containers and inspecting them, they may have
already been removed, so handle this case gracefully.

[NO NEW TESTS NEEDED] as it's a race condition.


diff --git a/pkg/api/handlers/compat/networks.go b/pkg/api/handlers/compat/networks.go
index 704af4b0e427..587da14361eb 100644
Valentin Rothberg <vrothberg@redhat.com> not-needed upstream, https://github.com/containers/podman/commit/ced934284058232c1c3d76956786106d64511f89 2023-02-06

All known versions for source package 'libpod'

Links