Package: libpod / 4.3.1+ds1-8+deb12u1

Metadata

Package Version Patches format
libpod 4.3.1+ds1-8+deb12u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
test skip TestPostDeleteHooks.patch | (download)

libpod/container_internal_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 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
~~~~

system goimports.patch | (download)

pkg/bindings/generator/generator.go | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
CVE 2023 0778.patch | (download)

libpod/container_internal.go | 4 2 + 2 - 0 !
utils/utils.go | 25 24 + 1 - 0 !
2 files changed, 26 insertions(+), 3 deletions(-)

---
fix podman client.patch | (download)

pkg/api/handlers/compat/images_build.go | 43 35 + 8 - 0 !
test/apiv2/10-images.at | 7 7 + 0 - 0 !
2 files changed, 42 insertions(+), 8 deletions(-)

 [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.

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

show graphroot before removal.patch | (download)

cmd/podman/system/reset.go | 7 7 + 0 - 0 !
docs/source/markdown/podman-system-reset.1.md | 4 4 + 0 - 0 !
2 files changed, 11 insertions(+)

 [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

Signed-off-by: Paul Holzinger <pholzing@redhat.com>

fix removed container handling.patch | (download)

pkg/api/handlers/compat/networks.go | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 [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.

Fixes: #17341