25696 Commits

Author SHA1 Message Date
3529cd312f Merge pull request #27198 from ashley-cui/release562
Bump to v5.6.2
2025-09-30 19:27:39 +00:00
9dd5e1ed33 Bump to v5.6.2
Signed-off-by: Ashley Cui <acui@redhat.com>
v5.6.2
2025-09-30 10:50:46 -04:00
52c393dcd9 Merge pull request #27190 from ashley-cui/vendor
Vendor Buildah v1.41.5+ Release notes
2025-09-30 09:58:06 +00:00
3b1ae51c60 Release notes for v5.6.2
Signed-off-by: Ashley Cui <acui@redhat.com>
2025-09-29 15:49:22 -04:00
aa5595391d Vendor buildah@v1.41.5
Signed-off-by: Ashley Cui <acui@redhat.com>
2025-09-29 15:48:57 -04:00
ad2275b51c Merge pull request #27139 from openshift-cherrypick-robot/cherry-pick-26950-to-v5.6
[v5.6] Handle SIGPIPE to prevent machine stuck in Starting state
2025-09-24 19:53:16 +00:00
1751612f33 Handle SIGPIPE to prevent machine stuck in Starting state
Fixes: #26949
Signed-off-by: Jiri Dostal <jdostal@redhat.com>
2025-09-22 13:15:25 +00:00
696b884e76 Merge pull request #26996 from podmanbot/bump-5.6.2-dev
Bump Podman to v5.6.2-dev
2025-09-05 09:41:15 +00:00
a2dda0410c Bump Podman to v5.6.2-dev
Signed-off-by: mheon <7735048+mheon@users.noreply.github.com>
2025-09-04 20:44:57 +00:00
f5612369bd Merge pull request #26994 from mheon/bump_561
Bump to v5.6.1
2025-09-04 20:43:33 +00:00
1e2b231515 Bump to v5.6.1
Signed-off-by: Matt Heon <mheon@redhat.com>
v5.6.1
2025-09-04 15:23:56 -04:00
75c78eb7fd Merge pull request #26990 from mheon/final_backports_561
Final backports for v5.6.1
2025-09-04 19:17:59 +00:00
9812c1f87d Final release notes for v5.6.1
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-09-04 13:59:09 -04:00
dcdaaf24be update tests duo to CRUN#1767 to support both values
Signed-off-by: Tim Zhou <tizhou@redhat.com>
2025-09-04 13:55:08 -04:00
f93cad508a Fix a locking bug in that could cause a double-unlock
The `cleanupExecBundle` function was only meant to be called on a
locked container, as it does some state mutation operations. It
also has a timed wait (if the directory is busy and can't be
removed yet, give it a few milliseconds) in which it deliberately
yields the lock to not block the container for that time.

The `healthCheckExec()` function calls `cleanupExecBundle` out of
a `defer` block. This is after the `defer c.lock.Unlock()` so it
fires afterwards when the function returns, so we're normally
fine - the container is still locked when our defer runs. The
problem is that `healthCheckExec()` also unlocks the container
during the expensive exec operation, and can actually fail and
return while not holding the lock - meaning our `defer` can fire
on an unlocked container, leading to a potential double unlock
in `cleanupExecBundle`.

We could, potentially, re-lock the container after the exec
occurs, but we're actually waiting for a `select` to trigger to
end the function, so that's not a good solution. Instead, just
re-lock (if necessary) in the defer, before invoking
`cleanupExecBundle()`. The `defer c.lock.Unlock()` will fire
right after and unlock after us.

Fixes #26968

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2025-09-04 13:54:49 -04:00
bd0386ff56 Add R! to systemd-tmpfiles script for all /tmp dirs
We already used `x` in tmpfiles, to ensure systemd did not remove
our directories or clean their contents (we really need them to
be left unmodified). However, systemd-tmpfiles lets us use more
than one directive per line, which means we can safely add an R!
(recursive remove on reboot) to these lines to ensure that, if
/tmp is not a tmpfs, systemd-tmpfiles will still remove our
temporary files, ensuring reboots are still accurately detected.

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-09-04 13:54:42 -04:00
2a1a4df406 Merge pull request #26987 from TomSweeneyRedHat/dev/tsweeney/b1.41.4_v5.6
[v5.6] Bump c/buildah v1.41.4, c/storage 1.59.1, and ...
2025-09-04 13:53:09 -04:00
aaf8b9dc0c Merge commit from fork
[v5.6] kube play: don't follow volume symlinks onto the host
2025-09-04 18:36:27 +02:00
f532f361c0 [v5.6] Bump c/buildah v1.41.4, c/storage 1.59.1, and ...
c/common v0.64.2, and ulikunitz/xv v0.5.12

in preparation for Podman v5.6.1

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-09-04 11:48:26 -04:00
ca994186f0 kube play: don't follow volume symlinks onto the host
For ConfigMap and Secret kube play volumes podman populates the data
from the yaml. However the volume content is not controlled by us and we
can be tricked following a symlink to a file on the host instead.

Fixes: CVE-2025-9566

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
(cherry picked from commit 43fbde4e665fe6cee6921868f04b7ccd3de5ad89)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-04 16:19:25 +02:00
16369ce107 Merge pull request #26969 from mheon/backports_561
Backports for v5.6.1
2025-09-03 11:21:49 +00:00
74b2ea3a68 Bump xz to v0.5.15 to pick up a CVE fix
Probably doesn't affect us, but better to be safe.

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-09-02 14:33:56 -04:00
66eb23b4d1 Preliminary release notes for v5.6.1
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-09-02 14:10:18 -04:00
7601c78be3 do not pass [no]copy as bind mounts options to runtime
Starting with runc 1.3.0 it errors when we pass unknown mount options to
the runtime, the copy/nocopy options are specific to podman when we
mount the volume and are not valid mount options for the runtime.

Fixes: #26938

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-02 14:04:00 -04:00
26a41ad665 do not pass volume-opt as bind mounts options to runtime
Starting with runc 1.3.0 it errors when we pass unknown mount options to
the runtime, the volume-opt options are specifc to the volume we create
and should not be passed to the mount in the oci spec.

Fixes: #26938

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-02 14:03:54 -04:00
4e83155959 tests: Get rid of netcat on the host and use Bash's /dev/tcp
The only remaining uses of nc now are in containers.

Signed-off-by: Ricardo Branco <rbranco@suse.de>
2025-09-02 14:02:18 -04:00
f8800b7fa8 tests: Replace ncat for socat
Signed-off-by: Ricardo Branco <rbranco@suse.de>
2025-09-02 14:02:03 -04:00
8f3fcf7c29 test/e2e: actually start container in startContainer
https://github.com/containers/podman/pull/26891#pullrequestreview-3152061969

Signed-off-by: Winter M <winter@antithesis.com>
2025-09-02 14:01:19 -04:00
bc905f25c3 fix(libpod): truncate long hostnames to correct maximum length
Since #24675, we've been truncating hostnames derived from the container name
to 253 characters. However, if a user were to create a container with a long
name and not set a hostname, this would still fail.

Seemingly, the maximum length for hostnames is (and always(?) has been) 64, as
made evident by these headers from various kernel versions:

- https://elixir.bootlin.com/linux/v6.16/source/include/uapi/linux/utsname.h#L15
- https://elixir.bootlin.com/linux/v4.20/source/include/uapi/linux/utsname.h#L15
- https://elixir.bootlin.com/linux/v3.19.8/source/include/uapi/linux/utsname.h#L14

I've confirmed this issue (and fix) on Linux 6.1, but happy to do so on a more
recent kernel as well.

Signed-off-by: Winter M <winter@antithesis.com>
2025-09-02 14:01:13 -04:00
6a18282cd3 Merge pull request #26900 from mheon/release_notes_rosetta
Add a release note for 5.6 Rosetta being disabled-by-default
2025-08-25 20:12:43 +00:00
a366d42c99 Add a release note for 5.6 Rosetta being disabled-by-default
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-08-25 13:12:15 -04:00
41224eb949 Merge pull request #26883 from openshift-cherrypick-robot/cherry-pick-26870-to-v5.6
[v5.6] windows: do not convert unconfined seccomp path
2025-08-21 12:42:32 +00:00
cd08b088f6 windows: do not convert unconfined seccomp path
unconfined is a special value and not a path as such it must not be
converted otherwise --security-opt seccomp=unconfined fails as it tries
to access a file called unconfined.

Fixes: 3e8b2d7d96 ("Fix seccomp profile path on Windows")
Fixes: #26855

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-08-21 11:56:47 +00:00
d46b857417 Merge pull request #26863 from openshift-cherrypick-robot/cherry-pick-26861-to-v5.6
[v5.6] podman events: show network create/remove event with journald
2025-08-20 10:18:51 +00:00
fb14c3192d podman events: show network create/remove event with journald
In the journald driver there is a bug where the network event
attributes are not preserved. This causes the network driver to be
missing and that in turn causes the ToHumanReadable() function to print
an empty line. Fix it by making sure we preserve the network driver in
the event attributes.

Fixes: https://issues.redhat.com/browse/RHEL-109790

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-08-19 18:14:33 +00:00
1a761fae86 Merge pull request #26835 from podmanbot/bump-5.6.1-dev
Bump Podman to v5.6.1-dev
2025-08-19 10:15:11 +00:00
57cb2ca3c6 Bump Podman to v5.6.1-dev
Signed-off-by: mheon <7735048+mheon@users.noreply.github.com>
2025-08-15 15:40:19 +00:00
56dc5f2368 Merge pull request #26833 from mheon/bump_560
Bump to v5.6.0
2025-08-15 15:36:13 +00:00
da671ef6cf Bump to v5.6.0
Signed-off-by: Matt Heon <mheon@redhat.com>
v5.6.0
2025-08-15 09:42:35 -04:00
a8e167574d Merge pull request #26832 from mheon/release_notes_560
Update release notes for v5.6.0 final release
2025-08-15 13:37:41 +00:00
98c3228471 Update release notes for v5.6.0 final release
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-08-15 09:17:43 -04:00
0819ecee86 Merge pull request #26828 from TomSweeneyRedHat/dev/tsweeney/buildah_1.41.3
[v5.6] Bump to Buildah v1.41.3
2025-08-15 13:10:25 +00:00
43cb0db93b [v5.6] Bump Buildah to v1.41.3
Bump Buildah to v1.41.3 in preparation for Podman v5.6.0. This vendoring also
cures a last minute issue in the Buildah build code.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-08-14 15:47:52 -04:00
f6584e443a [v5.6] Reverse skipped test for 26773
An issue was found late in Podman v5.6 RC2 and it was reported
in #26773.  The failing test was changed so that it was skipped.
This commit renables that test as the fix should be contained
in Buildah 1.41.3.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-08-14 15:47:18 -04:00
ab7c7cbc57 Merge pull request #26806 from openshift-cherrypick-robot/cherry-pick-26788-to-v5.6
[v5.6] Add BoltDB deprecation notice
2025-08-11 21:36:38 +00:00
3354423c0d Add a deprecation notice for users of BoltDB
Right now, only log-level=info, so not shown by default. We can
continue to up this in subsequent releases to convince folks of
the urgency of switching.

Resolves https://issues.redhat.com/browse/RUN-3343

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-08-11 19:44:59 +00:00
771be205f6 Merge pull request #26792 from podmanbot/bump-5.6.0-dev
Bump Podman to v5.6.0-dev
2025-08-09 15:18:22 +00:00
11efbf84c7 Bump Podman to v5.6.0-dev
Signed-off-by: mheon <7735048+mheon@users.noreply.github.com>
2025-08-08 17:17:33 +00:00
c523323e7e Merge pull request #26791 from mheon/bump_560_rc2
Bump to v5.6.0-rc2
2025-08-08 17:12:49 +00:00
ec0652f4ad Bump to v5.6.0-rc2
Signed-off-by: Matt Heon <mheon@redhat.com>
v5.6.0-rc2
2025-08-08 11:32:52 -04:00