Commit Graph

27522 Commits

Author SHA1 Message Date
Matt Heon
4e19e08c88 Fix a typo in the release notes
Signed-off-by: Matt Heon <matthew.heon@pm.me>
2026-06-16 13:36:41 -04:00
Ashley Cui
28357f3b52 Merge pull request #28918 from mheon/bump_600_rc1
Bump to v6.0.0-rc1
2026-06-12 14:38:07 -04:00
Matt Heon
d0c9bb1b49 Bump to v6.0.0-rc1
Signed-off-by: Matt Heon <mheon@redhat.com>
v6.0.0-rc1
2026-06-12 12:22:42 -04:00
Matt Heon
13b8065f39 Release notes for v6.0.0-rc1
Signed-off-by: Matt Heon <mheon@redhat.com>
2026-06-12 12:19:51 -04:00
Matt Heon
4ab1463d8b Add release notes for v6.0.0-RC1
Signed-off-by: Matt Heon <matthew.heon@pm.me>
2026-06-12 12:18:58 -04:00
Matt Heon
e2a4453cbd Merge pull request #28899 from Luap99/rpm
rpm: require specific containers-common with new config files
2026-06-11 11:08:46 -04:00
Matt Heon
735d0b0093 Merge pull request #28903 from Luap99/fix-chrootarchive-remote
fix podman-remote save -f oci-dir/docker-dir
2026-06-11 09:58:56 -04:00
Jan Rodák
bd5e4c1bf8 Merge pull request #28228 from matejvasek/fix-push-err-msg
fix: compat API image push err meg propagation
2026-06-11 15:19:19 +02:00
Matt Heon
641ba7e46b Merge pull request #28790 from containers/renovate/github.com-mdlayher-vsock-1.x
Update module github.com/mdlayher/vsock to v1.3.0
2026-06-11 07:11:38 -04:00
Matej Vašek
7607c3ec82 fix: style
Signed-off-by: Matej Vašek <matejvasek@gmail.com>
2026-06-11 12:56:31 +02:00
Matej Vašek
db70e73056 fix: compat API image push err meg propagation
When returning error http code (e.g. 4xx, 5xx) the body needs to contain
a JSON that has a key "message" in it,
we must not use jsonmessage.JSONMessage.

The JSON of shape jsonmessage.JSONMessage is used only when client
already received 200.

Signed-off-by: Matej Vašek <matejvasek@gmail.com>
2026-06-11 12:56:29 +02:00
Mario Loriedo
d1f0833c5f Merge pull request #28895 from ashley-cui/nightly
Release CI: Migrate to re-usable build action
2026-06-11 11:48:25 +02:00
Jan Rodák
7fe6abf197 Merge pull request #28879 from jiwahn/fix-event-attributes-labels
events: include labels in pod and volume attributes Fixes: #26480
2026-06-11 10:27:38 +02:00
Paul Holzinger
20397b288e Merge pull request #28905 from podman-container-tools/renovate/golang.org-x-net-0.x
Update module golang.org/x/net to v0.56.0
2026-06-11 09:22:00 +02:00
Danish Prakash
337f104a30 Merge pull request #28822 from Honny1/host-vs-name
Document container name vs hostname and network DNS
2026-06-11 10:19:16 +05:30
Paul Holzinger
79e7b0f6fd test/e2e: build in subdirectory
So when running remote and rootless tests the buildImage() thing has one
big problem because it used the main test tmpdir as context.

However that dir also holds all the image layers with files that are
owned by other uids and because podman-remote does not use the userns it
cannot read some files and then fails when trying to tar up the context
dir.

To fix this use an extra sub directory. Now because some tests where
using the parent directory to supply context files just switch the
callers so they have full control still.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-10 20:26:11 +02:00
renovate[bot]
25cb9d7e4e Update module golang.org/x/net to v0.56.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-10 18:08:35 +00:00
Paul Holzinger
fd07b9c6ec fix podman-remote save -f oci-dir/docker-dir
With podman-remote we do not enter a our user namespace like we do with
local podman so we keep running with the real user id.

So if we then try to use chrootarchive as normal user it fails with:
creating mount namespace before pivot: operation not permitted

So simply revert back to the normal archive code.

Now the more interesting thing is we do have a test
"podman save to directory with oci format" but it never runs
rootless+remote in our CI system with our current matrix as we wanted to
reduce jobs.
So rethink the matrix and add one such job as this shows it is needed.

Fixes: 25aee24cbd ("use chrootarchive over plain archive package")

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-10 18:47:02 +02:00
Matt Heon
0454af479f Merge pull request #28900 from Luap99/lint
fix small lint error
2026-06-10 11:14:07 -04:00
Paul Holzinger
22e2f85311 fix small lint error
This was report on of of my PRs, I do not know why this fails there all
of the sudden, it seems golangci-lint has gotten flaky recently.

Locally the linter passes without this change just fine but in CI this
seems to fail:

Error: cmd/podman-testing/call.go:58:22: SA4023(related information): the lhs of the comparison is the 1st return value of this function call (staticcheck)
	reflectionClient := reflectionv1.NewServerReflectionClient(grpcClient)
	                    ^
Error: cmd/podman-testing/call.go:59:5: SA4023: this comparison is never true (staticcheck)
	if reflectionClient == nil {
	   ^

The lint seems right, NewServerReflectionClient never returns nil so
lets just fix it.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-10 15:05:24 +02:00
Paul Holzinger
e20616b48c rpm: require specific containers-common with new config files
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-10 14:40:29 +02:00
Paul Holzinger
cefaa0ee44 Merge pull request #28712 from elezar/info-cdi-devices
info: report configured and discovered CDI devices
2026-06-10 14:34:35 +02:00
renovate[bot]
0d5eb24c00 Update module github.com/mdlayher/vsock to v1.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-10 11:29:26 +00:00
Evan Lezar
dea67a3eba test/e2e: use Ginkgo Setenv in info tests
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2026-06-10 12:21:27 +02:00
Jan Rodák
2aa54ee55f Document container name vs hostname and network DNS
Clarify that auto-generated names may use underscores, that DNS-enabled
networks resolve container names as given, and that container_name_as_hostname
changes the UTS hostname only.

Fixes: https://github.com/containers/podman/issues/28754

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2026-06-10 11:28:14 +02:00
Jan Rodák
86efefb654 Merge pull request #28894 from Luap99/pr-labels
.github/labeler: add CI label automatically
2026-06-10 09:53:32 +02:00
Jan Rodák
d55b0a0664 Merge pull request #28889 from Luap99/port-conflict
pkg/specgen: fix port conflict on host assignment
2026-06-10 09:44:50 +02:00
Jan Rodák
331946fd79 Merge pull request #28876 from solunolab/main
chore: fix some function names in comment
2026-06-10 07:30:30 +02:00
Paul Holzinger
82a460cca2 Merge pull request #28785 from kolyshkin/hack-shfmt
Use shfmt (for ./hack only)
2026-06-09 22:08:23 +02:00
Paul Holzinger
f25cd8267a Merge pull request #28896 from kolyshkin/go-criu
deps: bump go-criu to v8.2.0
2026-06-09 21:52:23 +02:00
Kir Kolyshkin
f5d8ea5f2b Makefile: add shfmt target to format ./hack/ only
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-06-09 11:55:16 -07:00
Kir Kolyshkin
bb3f0c9e56 hack: format with shfmt -w
Using shfmt v3.13.1

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-06-09 11:55:16 -07:00
Kir Kolyshkin
6bd4f2141b .editorconfig: add [[shell]] section, space_redirects
1. Add [[shell]] section, which is for shfmt only to apply formatting to
   shell files that does not end with .sh or bash, but with a shebang
   line present.

2. Add space_redirects = true setting for shfmt.

Note the [[language]] syntax is not officially supported by editorconfig
standard (the discussion since at least 2019 is still ongoing, see [1])
but is supported by shfmt since v3.8.0 (February 2024).

[1]: https://github.com/editorconfig/editorconfig/issues/404

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-06-09 11:53:21 -07:00
Kir Kolyshkin
3c4068bcd6 deps: bump go-criu to v8.2.0
I guess this was not done by renovate/dependabot because of major
version bump.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-06-09 11:51:46 -07:00
Miloslav Trmač
5f5c128abe Merge pull request #28874 from kila-star1127/issue_25067
fix ssh config parsing for HostName
2026-06-09 20:49:25 +02:00
Paul Holzinger
3e62e39e1a Merge pull request #28748 from podman-container-tools/renovate/actions-stale-10.x
Update actions/stale action to v10.3.0
2026-06-09 20:33:37 +02:00
Ashley Cui
2f4e890067 Release CI: Migrate to re-usable build action
Migrate release to use release-build-artifacts action. This re-usable build action is tested nightly, so hopefully this will make our release automation more stable, as we may catch issues in our nightly runs. Followup to https://github.com/podman-container-tools/podman/pull/28176

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-09 14:25:10 -04:00
renovate[bot]
612a4acaab Update actions/stale action to v10.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-09 18:20:33 +00:00
Ashley Cui
3ca887232d Some Windows release cleanup
- Update pandoc
- Remove unused FETCH_BASE_URL
- Remove legacy installer upload (74043cf7)

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-09 14:15:42 -04:00
Paul Holzinger
cdb8995665 .github/labeler: add CI label automatically
To make it a bit more obvious when any CI related files such as github
workflows are touched add a label.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-09 17:52:24 +02:00
Giuseppe Scrivano
408f6e74b1 Merge pull request #28855 from Honny1/flakes-hunt
Fix multiple flakes
2026-06-09 16:57:07 +02:00
Paul Holzinger
19c579826a pkg/specgen: fix port conflict on host assignment
This fixes two problems when parsing ports.

First, check for host port conflicts. When we are given the same ip:host
port combo twice then we need to reject that as invalid, the backend
cannot bind the same port twice and thus we always get a runtime
failure. Failing early in the create code path is much better.

Second, when assigning random ports for expose we still have to check
for proper conflicts. The first error was using allUsedContainerPortsMap
to check for conflicts but this holds container side ports, we need to
ensure there are no conflicts on the host port.

Then there was the other issue that the array in the map was copied and
accessed by value on lookup. And because the code did not reassign the
value it then failed to actually update the correct ports.
To address that I switch the map to store the array by reference which
will avoid the bigger copies as we only need to update the pointer now.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-09 16:12:35 +02:00
Paul Holzinger
14f1659ce6 Merge pull request #28891 from podman-container-tools/renovate/golang.org-x-crypto-0.x
Update module golang.org/x/crypto to v0.53.0
2026-06-09 15:46:39 +02:00
Jan Rodák
ac75155196 Fix stop timing flake by widening upper bound
The `podman stop - basic test` flakes in CI because $SECONDS is
integer-precision: a ~14.6s stop rounds to delta_t=15 and fails
the -le 14 check. Widen the upper bound to 18s, which still catches
real regressions while tolerating slow CI nodes and remote-mode
socket overhead.

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2026-06-09 14:57:28 +02:00
Jan Rodák
ee986cd7c9 Use MNT_DETACH for SHM unmount instead of retry loop
After checkpoint the SHM tmpfs can briefly return EBUSY while the
kernel releases mount propagation references. Use lazy unmount
instead of retrying, as suggested by review.

Fixes flake: `podman checkpoint/restore ip and mac handling`

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2026-06-09 14:57:27 +02:00
Jan Rodák
81fceb48d2 Fix healthcheck flake by capturing time before systemctl checks
After _check_health "First failure" returns with FailingStreak=2, the
3rd failure fires during the subsequent systemctl checks (~1s interval),
emitting the "unhealthy" event before current_time was captured. Move
current_time before those checks so --since doesn't miss the event.

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2026-06-09 14:57:27 +02:00
Jan Rodák
d18ed46101 fix flaky "rm --force" stopping-state detection
Test: `podman container rm --force doesn't leave running processes`

Under CI load, podman-inspect takes 2-3s per call, longer than the
2s stop-timeout window. Increase to 20s so the test reliably catches
the "stopping" state before it transitions to "exited".

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2026-06-09 14:57:24 +02:00
Jiwoo Ahn
ef2d2e4a58 events: include labels in pod and volume attributes
Fixes: #26480

Signed-off-by: Jiwoo Ahn <ikwydls1314@gmail.com>
2026-06-09 20:36:04 +09:00
renovate[bot]
91232cc274 Update module golang.org/x/crypto to v0.53.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-09 10:06:18 +00:00
Jan Rodák
3e6de5ffd7 Merge pull request #28854 from bit-hope/some-improvements-for-cmd-podman
Some improvements for cmd/podman
2026-06-09 12:02:22 +02:00