Commit Graph

27713 Commits

Author SHA1 Message Date
ROKUMATE
a535016f97 pkg/namespaces: fix NetworkMode IsNS and IsUserDefined
NetworkMode.IsNS matched any value starting with "ns" (e.g. a network named "nsproxy"), unlike UsernsMode.IsNS which requires the "ns:" prefix; require it. IsUserDefined also did not exclude pod, so a pod network was reported as user-defined; exclude it.

Signed-off-by: ROKUMATE <rohitkumawat0110@gmail.com>
2026-06-30 16:50:07 +05:30
Paul Holzinger
f6afcfaf26 Merge pull request #29076 from simonbrauner/vendor-container-libs-946
vendor: update container-libs to latest
2026-06-29 22:04:09 +02:00
Šimon Brauner
b10c04e9a5 vendor: update container-libs to latest
Related: https://github.com/podman-container-tools/container-libs/pull/946

Signed-off-by: Šimon Brauner <sbrauner@redhat.com>
2026-06-29 20:13:42 +02:00
Paul Holzinger
4cbae8b6a7 Merge pull request #28991 from l0rd/fix-machine-start-signal-handling
Fix signal handling during machine start on macOS
2026-06-29 18:50:09 +02:00
Jan Rodák
5c8a6d5019 Merge pull request #29038 from shuaiyuanxx/fix-volume-prune-all-label-filters
Honor label filters for volume prune when all is set
2026-06-29 16:47:29 +02:00
Paul Holzinger
7ba55d6adc Merge pull request #28803 from simek-m/fix/healthcheck-log-corruption
fix: Handle healthcheck log corruption gracefully
2026-06-29 15:25:21 +02:00
Marek Simek
e353bab7f5 fix: Handle healthcheck log corruption gracefully
The healthcheck log could be corrupted if the
process was interrupted mid-write. It could
lead to Podman crashing.

Write the log files atomically and diferentiate
between corrupted log and different errors in
consumers of readFromFileHealthCheckLog().
Add a system test for a corrupted log file.
Change incorrect log permissions to 0o600.

Fixes: https://redhat.atlassian.net/browse/RHEL-178222
Signed-off-by: Marek Simek <msimek@redhat.com>
2026-06-29 13:03:47 +02:00
Paul Holzinger
70554a45da Merge pull request #29066 from podman-container-tools/renovate/common-image-and-storage-deps
Update common, image, and storage deps to 5af159b
2026-06-29 12:34:18 +02:00
Paul Holzinger
a91d487db7 Merge pull request #29063 from l0rd/fix-machine-init-when-wsl-isnt-installed
Fix machine init when WSL isn't installed
2026-06-29 12:15:43 +02:00
Paul Holzinger
f1c4cf4d9b Merge pull request #29062 from ashley-cui/nightly-names
Upload artifacts with build suffix
2026-06-29 11:52:34 +02:00
Shuai Yuan
4586dc2c60 Honor label filters for volume prune when all is set
NormalizeVolumePruneFilters discarded every query filter when the "all"
pseudo-filter was set, deleting label/label!/until before they reached the
volume filter generator. As a result `podman volume prune --all --filter
label=foo` ignored the label and pruned every unused volume.

"all" only widens the prune scope from anonymous-only to all unused volumes;
it is orthogonal to the label filters, which must still select which of those
volumes are removed. Drop only the "all" key and keep the remaining filters so
they continue to apply.

NormalizeVolumePruneFilters is shared by the local (abi), remote (libpod API),
and Docker-compat prune paths, so all three were affected.

Signed-off-by: Shuai Yuan <shuaiyuanzju@gmail.com>
2026-06-29 17:51:27 +08:00
Jan Rodák
d3687aba7f Merge pull request #29051 from podman-container-tools/renovate/dawidd6-action-send-mail-18.x
Update dawidd6/action-send-mail action to v18
2026-06-29 10:25:45 +02:00
renovate[bot]
bd0d7dc544 Update common, image, and storage deps to 5af159b
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-28 02:16:30 +00:00
Mario Loriedo
80203302f9 Fix lookup of WSL VMs with matching name
When WSL wasn't installed, the lookup erroneously reported that
a VM with the same name existed. Instead, in this case, the lookup
should return zero matching VMs.

Fixes https://github.com/podman-container-tools/podman/issues/29053

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-27 10:52:26 +02:00
Mario Loriedo
697f91164a Fix WSL check: assume not installed when --status returns an error
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-27 00:43:33 +02:00
Ashley Cui
f69796b6bc Upload artifacts with build suffix
The nightly release validation builds both on main and the latest release branch,
we should upload the artifacts with a suffix to differentiate the two

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-26 16:00:02 -04:00
Matt Heon
06af59795f Merge pull request #29061 from mheon/meeting_minutes_20260626
Add minutes for the 2026-06-26 Core Maintainers meeting
2026-06-26 15:12:26 -04:00
Matt Heon
9dd80122d7 Add minutes for the 2026-06-26 Core Maintainers meeting
These are AI generated (Gemini 3.5 Thinking). I have included the
full transcript as well so there is a further source of truth in
the event of error in the AI summary, but it seemed reasonably
accurate when I reviewed it.

Signed-off-by: Matt Heon <mheon@redhat.com>
2026-06-26 14:09:45 -04:00
Danish Prakash
2d3001a55a Merge pull request #28931 from ROKUMATE/test-pkg-bindings-util
pkg/bindings: Add tests for ToParams and helpers
2026-06-26 21:10:54 +05:30
Paul Holzinger
19e5f0330c Merge pull request #29028 from grey3228/fix/logs_chan_sizing
api: avoid sizing logs channel from tail
2026-06-26 15:46:22 +02:00
ROKUMATE
f30dda3837 pkg/bindings: add tests for ToParams and helpers
Fixes: #28930
Signed-off-by: ROKUMATE <rohitkumawat0110@gmail.com>
2026-06-26 17:05:40 +05:30
Mario Loriedo
c727fbe93e Merge pull request #29054 from danishprakash/fix-quadlet-app-test
test/quadlet: pass Containerfile as part of a named application
2026-06-26 12:21:35 +02:00
Mikhail Dmitrichenko
3ba76de619 api: avoid sizing logs channel from tail
The compat logs handler uses the tail query parameter both to select how
many log lines should be returned and as the capacity of the internal log
channel.

Only the former is part of the API semantics. The channel capacity should
not depend on a user-controlled value: negative values can produce an
invalid channel size, while very large values can cause excessive
allocation before any logs are read.

Use a small fixed-size buffer instead.

Signed-off-by: Mikhail Dmitrichenko <m.dmitrichenko00@bk.ru>
2026-06-26 10:31:13 +03:00
Danish Prakash
7ab4b89c85 test/quadlet: pass Containerfile as part of a named application
PR #28860 requires non-quadlet files (e.g a Containerfile with no
recognized extension) to be passed as part of a named application.
Update tests added in #28696 to adhere to this requirment.

Signed-off-by: Danish Prakash <contact@danishpraka.sh>
2026-06-26 12:29:37 +05:30
renovate[bot]
61547d09b0 Update dawidd6/action-send-mail action to v18
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-26 02:49:08 +00:00
Matt Heon
9d537703a2 Merge pull request #28908 from ROKUMATE/main
pkg/copy: add tests for ParseSourceAndDestination
2026-06-25 13:53:36 -04:00
Matt Heon
0a4ac19625 Merge pull request #29045 from lsm5/packit-caution-note
Packit: Add cautionary note to ephemeral copr job
2026-06-25 13:52:13 -04:00
Matt Heon
9a70aa562d Merge pull request #28860 from l0rd/refactor/quadlet-applications-with-fix
Quadlet installation code refactoring
2026-06-25 13:45:29 -04:00
Lokesh Mandvekar
8ce58d328c Packit: Add cautionary note to ephemeral copr job
The packit copr jobs are consumed by podman-machine-os release process
so any change to the copr targets should be mindful of this fact.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-06-25 13:24:22 -04:00
Danish Prakash
85a87fef29 Merge pull request #29036 from grey3228/fix/convert_number_typo
systemd: fix negative number conversion
2026-06-25 22:08:47 +05:30
Paul Holzinger
6561e1ce52 Merge pull request #29041 from ashley-cui/relemail
Fix release email
2026-06-25 17:47:06 +02:00
Mikhail Dmitrichenko
9b4484739f systemd: fix negative number conversion
convertNumber() strips the sign before parsing the numeric value and then
applies it back via a multiplier.  The negative case uses -11 instead of
-1, causing negative values to be converted incorrectly.

This is visible for any caller using the signed result directly, and can
also produce surprising results for unsigned callers if the multiplication
overflows.

Use -1 for the negative multiplier.

Signed-off-by: Mikhail Dmitrichenko <m.dmitrichenko00@bk.ru>
2026-06-25 18:33:10 +03:00
Jan Rodák
60e90c14ec Merge pull request #28664 from givensuman/fix/generate-kube-healthcheck
Export container healthcheck as LivenessProbe in generate kube
2026-06-25 17:32:57 +02:00
Ashley Cui
e696a79b58 Fix release email
gh auth login fails if we set GITHUB_TOKEN

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-25 09:13:09 -04:00
Jan Rodák
fef6af086a Merge pull request #29037 from l0rd/fix-latest-setup-exe 2026-06-25 12:35:12 +02:00
Mario Loriedo
6ae463a9cd Windows installer tests: download v5.8.3 of the setup bundle
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-25 11:23:49 +02:00
ROKUMATE
c727a0fec7 pkg/copy: add tests for ParseSourceAndDestination
Fixes: #28907

Signed-off-by: ROKUMATE <rohitkumawat0110@gmail.com>
2026-06-24 22:25:26 +05:30
Mario Loriedo
12ea195526 Add new machine test that covers interrupted start command
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-24 18:52:15 +02:00
Mario Loriedo
f5d51593ca Fix cleanup callbacks registration in machines Start() function
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-24 18:52:15 +02:00
Mario Loriedo
2f3e645b58 Reap completed gvproxy process if machine start fails on Unix
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-24 18:52:15 +02:00
Mario Loriedo
37c8dea92a Machine: extend lock to ensure cleanup callbacks completion
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-24 18:52:15 +02:00
Mario Loriedo
c6945741e4 Propagate SIGTERM to the VM process during machine start on macOS
Related to https://github.com/podman-container-tools/podman/issues/28318

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-24 18:52:12 +02:00
Danish Prakash
de3341fd81 Merge pull request #28977 from jiwahn/fix-kube-oci-annotation-roundtrip
kube: alias OCI runtime annotations without underscores
2026-06-24 20:29:15 +05:30
Paul Holzinger
f0f740a44e Merge commit from fork
fix image host env leak
2026-06-24 16:11:44 +02:00
Matt Heon
cbdb3126e9 Merge pull request #29016 from Luap99/exec-cleanup
fix cleanupExecBundle locking and some more exec releated cleanups
2026-06-24 09:46:40 -04:00
Brent Baude
22403c6982 Merge pull request #29018 from podman-container-tools/renovate/github.com-onsi-gomega-1.x
Update module github.com/onsi/gomega to v1.42.1
2026-06-24 08:40:23 -05:00
Jan Rodák
0de0e448af Merge pull request #29021 from grey3228/fix/tar_resources_leak
close rootfs tar stream after use
2026-06-24 15:05:36 +02:00
Paul Holzinger
4f33ae8cfd Merge pull request #29019 from podman-container-tools/renovate/actions-setup-go-6.x
Update actions/setup-go action to v6.5.0
2026-06-24 12:32:46 +02:00
Mikhail Dmitrichenko
b8cc54238b libpod: close checkpoint export tar stream
chrootarchive.Tar returns an io.ReadCloser backed by the tar-producing
process.  The checkpoint export path copies from that stream into the
target file, but never closes the reader.

A successful copy reads the stream to EOF, so the producer normally exits.
On early errors, such as failing to create or chmod the target file, or a
copy error, the producer can be left without a consumer.

Close the tar stream after creating it so error paths release the pipe and
allow the producer to exit.

Signed-off-by: Mikhail Dmitrichenko <m.dmitrichenko00@bk.ru>
2026-06-24 13:30:13 +03:00
Mikhail Dmitrichenko
feff567126 checkpoint: close rootfs tar stream after use
chrootarchive.Tar returns an io.ReadCloser backed by a pipe to the
tar-producing process.  CRCreateRootFsDiffTar copies from the stream but
never closes it.

On the successful path the stream is read to EOF, so the producer normally
exits.  On early errors, such as failing to create the destination file or
failing while copying to it, the producer can be left without a consumer.

Close the tar stream after it is created so error paths release the pipe and
allow the producer to exit.

Signed-off-by: Mikhail Dmitrichenko <m.dmitrichenko00@bk.ru>
2026-06-24 12:32:18 +03:00