]> git.feebdaed.xyz Git - 0xmirror/podman.git/log
0xmirror/podman.git
5 days agoMerge pull request #27791 from ninja-quokka/kube_play_image_validation main
Matt Heon [Mon, 22 Dec 2025 19:43:56 +0000 (14:43 -0500)]
Merge pull request #27791 from ninja-quokka/kube_play_image_validation

[play_kube] Add validation to container image field

5 days agoMerge pull request #27811 from ashley-cui/networkcmdpath
Lokesh Mandvekar [Mon, 22 Dec 2025 14:40:16 +0000 (09:40 -0500)]
Merge pull request #27811 from ashley-cui/networkcmdpath

Remove network-cmd-path

5 days agoMerge pull request #27805 from Amirali-Amirifar/main
Jan Rodák [Mon, 22 Dec 2025 12:10:27 +0000 (13:10 +0100)]
Merge pull request #27805 from Amirali-Amirifar/main

Remove extra spaces from secrets cmd example

5 days agoMerge pull request #27794 from MayorFaj/docs-remove-unnecessary-tty-27605
Jan Rodák [Mon, 22 Dec 2025 10:46:41 +0000 (11:46 +0100)]
Merge pull request #27794 from MayorFaj/docs-remove-unnecessary-tty-27605

fix: remove unnecessary -t flag from podman run commands in docs

6 days ago[play_kube] Add validation to container image field
Lewis Denny [Wed, 17 Dec 2025 12:17:42 +0000 (22:17 +1000)]
[play_kube] Add validation to container image field

Fixes: #27784
Signed-off-by: Lewis Denny <lewisdenny@me.com>
7 days agoRemove network-cmd-path
Ashley Cui [Fri, 10 Oct 2025 17:53:40 +0000 (13:53 -0400)]
Remove network-cmd-path

As part of slirp removal.
RUN-3569

Signed-off-by: Ashley Cui <acui@redhat.com>
9 days agoRemove extra spaces from secrets cmd example
Amirali Amirifar [Thu, 18 Dec 2025 19:18:24 +0000 (22:48 +0330)]
Remove extra spaces from secrets cmd example

Signed-off-by: Amirali Amirifar <amirali.amirifar@gmail.com>
9 days agofix: remove unnecessary -t flag from podman run commands in documentation
MayorFaj [Wed, 17 Dec 2025 22:29:40 +0000 (22:29 +0000)]
fix: remove unnecessary -t flag from podman run commands in documentation

Signed-off-by: MayorFaj <mayorfaj@gmail.com>
9 days agoMerge pull request #27696 from MayorFaj/fix-logs-timestamp-precision
Matt Heon [Wed, 17 Dec 2025 20:41:43 +0000 (15:41 -0500)]
Merge pull request #27696 from MayorFaj/fix-logs-timestamp-precision

fix(logs): improve timestamp precision in container logs

10 days agoMerge pull request #27689 from MayorFaj/docs/27681-filter-deduplication
Jan Rodák [Wed, 17 Dec 2025 17:38:52 +0000 (18:38 +0100)]
Merge pull request #27689 from MayorFaj/docs/27681-filter-deduplication

docs: Deduplicate --filter descriptions

10 days agoMerge pull request #27781 from cgwalters/fprintf-trailing-nl
Matt Heon [Wed, 17 Dec 2025 17:21:03 +0000 (12:21 -0500)]
Merge pull request #27781 from cgwalters/fprintf-trailing-nl

Fix missing newlines in stderr error messages

10 days agoMerge pull request #27790 from ninja-quokka/update_readme_links
Matt Heon [Wed, 17 Dec 2025 17:01:28 +0000 (12:01 -0500)]
Merge pull request #27790 from ninja-quokka/update_readme_links

docs: Update LFX insights badges in README

10 days agoMerge pull request #27659 from inknos/post-quadlet-api
Ashley Cui [Wed, 17 Dec 2025 15:32:49 +0000 (10:32 -0500)]
Merge pull request #27659 from inknos/post-quadlet-api

Add POST /libpod/quadlets

10 days agoAdd POST /libpod/quadlets
Nicola Sella [Wed, 19 Nov 2025 16:53:19 +0000 (17:53 +0100)]
Add POST /libpod/quadlets

Fixes: https://issues.redhat.com/browse/RUN-3743
Signed-off-by: Nicola Sella <nsella@redhat.com>
10 days agoFix missing newlines in stderr error messages
Colin Walters [Tue, 16 Dec 2025 16:16:46 +0000 (11:16 -0500)]
Fix missing newlines in stderr error messages

I happened to run `podman run --config=/path/to/file` and got
an error without a trailing newline, which was a bit jarring.

Fix the instances I noticed.

Assisted-by: OpenCode (Claude Opus 4.5)
Signed-off-by: Colin Walters <walters@verbum.org>
10 days agodocs: Update LFX insights badges in README
Lewis Denny [Wed, 17 Dec 2025 10:24:41 +0000 (20:24 +1000)]
docs: Update LFX insights badges in README

The location of the Podman LFX insight badges has changed causing them
to fail, this patch updates the, to point to the new location.

Fixes: #27789
Signed-off-by: Lewis Denny <lewisdenny@me.com>
10 days agoMerge pull request #27760 from Luap99/test-apk
Jan Rodák [Wed, 17 Dec 2025 10:04:47 +0000 (11:04 +0100)]
Merge pull request #27760 from Luap99/test-apk

11 days agoMerge pull request #27721 from jwhonce/wip/agents_md
Tom Sweeney [Tue, 16 Dec 2025 00:52:03 +0000 (19:52 -0500)]
Merge pull request #27721 from jwhonce/wip/agents_md

Initial AGENTS.md

2 weeks agoMerge pull request #27330 from winterqt/push-pwouqluolwxt
Paul Holzinger [Fri, 12 Dec 2025 17:15:05 +0000 (18:15 +0100)]
Merge pull request #27330 from winterqt/push-pwouqluolwxt

libpod: fix healthchecks not executing every interval on linux

2 weeks agoMerge pull request #27581 from timcoding1988/chore/new_base_image_for_fedora_43
Paul Holzinger [Fri, 12 Dec 2025 15:56:03 +0000 (16:56 +0100)]
Merge pull request #27581 from timcoding1988/chore/new_base_image_for_fedora_43

update fedora base image to 43 and related tests

2 weeks agoMerge pull request #27426 from Honny1/local-api-artifact-add
Paul Holzinger [Fri, 12 Dec 2025 15:49:50 +0000 (16:49 +0100)]
Merge pull request #27426 from Honny1/local-api-artifact-add

Artifact add optimization on macOS and Windows

2 weeks agotest/system: remove apk from build
Paul Holzinger [Fri, 12 Dec 2025 14:44:38 +0000 (15:44 +0100)]
test/system: remove apk from build

We do not use that package that we install for the test anyway and doing
this networking connection is causing heavy flakes at the moment.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2 weeks agotest/system: skip podman volumes with XFS quotas on fedora
Paul Holzinger [Fri, 12 Dec 2025 13:16:39 +0000 (14:16 +0100)]
test/system: skip podman volumes with XFS quotas on fedora

It fails due selinux, it is unlcear why so I filled #27759 for now to
track that so we can get the image update merged.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2 weeks agocirrus: ensure NOTIFY_SOCKET is properly unset for all tests
Paul Holzinger [Fri, 12 Dec 2025 13:09:18 +0000 (14:09 +0100)]
cirrus: ensure NOTIFY_SOCKET is properly unset for all tests

Podman uses this env toi do various things, we don't want the external
env to affect our tests here.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2 weeks agoMerge pull request #27757 from containers/renovate/google.golang.org-protobuf-1.x
Paul Holzinger [Fri, 12 Dec 2025 11:07:19 +0000 (12:07 +0100)]
Merge pull request #27757 from containers/renovate/google.golang.org-protobuf-1.x

fix(deps): update module google.golang.org/protobuf to v1.36.11

2 weeks agofix(deps): update module google.golang.org/protobuf to v1.36.11
renovate[bot] [Fri, 12 Dec 2025 09:47:11 +0000 (09:47 +0000)]
fix(deps): update module google.golang.org/protobuf to v1.36.11

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 weeks agoMerge pull request #27750 from containers/renovate/golang.org-x-net-0.x
Paul Holzinger [Thu, 11 Dec 2025 20:39:31 +0000 (21:39 +0100)]
Merge pull request #27750 from containers/renovate/golang.org-x-net-0.x

fix(deps): update module golang.org/x/net to v0.48.0

2 weeks agoMerge pull request #27751 from containers/renovate/tags.cncf.io-container-device...
Paul Holzinger [Thu, 11 Dec 2025 19:42:35 +0000 (20:42 +0100)]
Merge pull request #27751 from containers/renovate/tags.cncf.io-container-device-interface-1.x

fix(deps): update module tags.cncf.io/container-device-interface to v1.1.0

2 weeks agofix(deps): update module tags.cncf.io/container-device-interface to v1.1.0
renovate[bot] [Thu, 11 Dec 2025 18:17:10 +0000 (18:17 +0000)]
fix(deps): update module tags.cncf.io/container-device-interface to v1.1.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 weeks agoMerge pull request #27748 from containers/renovate/github.com-checkpoint-restore...
Paul Holzinger [Thu, 11 Dec 2025 18:15:17 +0000 (19:15 +0100)]
Merge pull request #27748 from containers/renovate/github.com-checkpoint-restore-checkpointctl-1.x

fix(deps): update module github.com/checkpoint-restore/checkpointctl to v1.4.1

2 weeks agoupdate fedoral base image to 43 and related tests
Tim Zhou [Fri, 21 Nov 2025 17:47:47 +0000 (12:47 -0500)]
update fedoral base image to 43 and related tests

Signed-off-by: Tim Zhou <tizhou@redhat.com>
2 weeks agoMerge pull request #27746 from Luap99/renovate-conf
Brent Baude [Thu, 11 Dec 2025 16:04:47 +0000 (10:04 -0600)]
Merge pull request #27746 from Luap99/renovate-conf

renovate: remove old c/{common, image, storage} config

2 weeks agofix(deps): update module golang.org/x/net to v0.48.0
renovate[bot] [Thu, 11 Dec 2025 14:37:08 +0000 (14:37 +0000)]
fix(deps): update module golang.org/x/net to v0.48.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 weeks agoMerge pull request #27708 from anagno/fix/probe
Paul Holzinger [Thu, 11 Dec 2025 14:35:06 +0000 (15:35 +0100)]
Merge pull request #27708 from anagno/fix/probe

fix: skip execution of probes when initialDelaySeconds is not elapsed

2 weeks agofix(deps): update module github.com/checkpoint-restore/checkpointctl to v1.4.1
renovate[bot] [Thu, 11 Dec 2025 13:28:03 +0000 (13:28 +0000)]
fix(deps): update module github.com/checkpoint-restore/checkpointctl to v1.4.1

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 weeks agoMerge pull request #27741 from baude/strongreplace2
Jan Rodák [Thu, 11 Dec 2025 13:26:23 +0000 (14:26 +0100)]
Merge pull request #27741 from baude/strongreplace2

Vendor latest mono repo for libartifact changes

2 weeks agofix: skip execution of probes when initialDelaySeconds is not elapsed
Vasileios Anagnostopoulos [Sun, 7 Dec 2025 12:39:07 +0000 (13:39 +0100)]
fix: skip execution of probes when initialDelaySeconds is not elapsed

According to the [Kubernetes docs](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes)
the probes should be executed after the `initialDelaySeconds`. So to be
consistent with the kubernetes specs, skip the execution of the probes until
the `initialDelaySeconds` is elapsed.

Closes #27678

Signed-off-by: Vasileios Anagnostopoulos <anagnwstopoulos@hotmail.com>
2 weeks agorenovate: remove old c/{common, image, storage} config
Paul Holzinger [Thu, 11 Dec 2025 11:21:36 +0000 (12:21 +0100)]
renovate: remove old c/{common, image, storage} config

We no longer use these repos so we can drop this config.

In the meantime I added this for the new location in the global config.
https://github.com/containers/automation/pull/259/commits/b49c089e5fa16be06f36b3abfa050f27dfee783b

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2 weeks agoVendor latest mono repo for libartifact changes
Brent Baude [Wed, 3 Dec 2025 19:45:47 +0000 (13:45 -0600)]
Vendor latest mono repo for libartifact changes

This PR vendors in the strong typed libartifact code and carries the
associated changes.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2 weeks agoMerge pull request #27740 from l0rd/fix-win-release-artifact-not-found
Paul Holzinger [Wed, 10 Dec 2025 16:24:16 +0000 (17:24 +0100)]
Merge pull request #27740 from l0rd/fix-win-release-artifact-not-found

Use explicit download-artifact name and path for win-installer release

2 weeks agoUse explicit download-artifact name and path for win-installer release
Mario Loriedo [Wed, 10 Dec 2025 15:45:08 +0000 (16:45 +0100)]
Use explicit download-artifact name and path for win-installer release

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2 weeks agoMerge pull request #27727 from cfergeau/openatinroot
openshift-merge-bot[bot] [Tue, 9 Dec 2025 18:28:37 +0000 (18:28 +0000)]
Merge pull request #27727 from cfergeau/openatinroot

kube play: Fix fd leak when handling symlinks

2 weeks agoFinish review comments
Jhon Honce [Tue, 9 Dec 2025 16:41:06 +0000 (09:41 -0700)]
Finish review comments

* Provide hints to AI agents to differentiate between system and
  integration tests

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2 weeks agokube play: Fix fd leak when handling symlinks
Christophe Fergeau [Tue, 9 Dec 2025 15:27:47 +0000 (16:27 +0100)]
kube play: Fix fd leak when handling symlinks

The `*os.File` returned by `pathrs.OpenatInRoot` needs to
be closed before returning from `openSymlinkPath`

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2 weeks agoMerge pull request #27650 from lstocchi/i27614
openshift-merge-bot[bot] [Tue, 9 Dec 2025 12:17:38 +0000 (12:17 +0000)]
Merge pull request #27650 from lstocchi/i27614

Prevent non hyper-v admin users to execute machine commands

2 weeks agoUpdate to resolve most review comments
Jhon Honce [Tue, 9 Dec 2025 01:31:33 +0000 (18:31 -0700)]
Update to resolve most review comments

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2 weeks agoMerge pull request #27709 from baude/removedarwinamd64
openshift-merge-bot[bot] [Tue, 9 Dec 2025 01:20:42 +0000 (01:20 +0000)]
Merge pull request #27709 from baude/removedarwinamd64

Remove Intel MacOS support

2 weeks agoInitial draft of AGENTS.md
Jhon Honce [Tue, 9 Dec 2025 00:54:50 +0000 (17:54 -0700)]
Initial draft of AGENTS.md

* Add support for https://agents.md/

[NO TESTS NEEDED]

Signed-off-by: Jhon Honce <jhonce@redhat.com>
See: [AGENTS.md](https://agents.md/)

2 weeks agoRemove Intel MacOS support
Brent Baude [Sat, 6 Dec 2025 21:41:52 +0000 (15:41 -0600)]
Remove Intel MacOS support

This PR removes support for Intel Apple Macs. The removal includes
impacts to code, tests, Makefile, builds, release builds, and so forth.

Fixes Jira: RUN-3621

Signed-off-by: Brent Baude <bbaude@redhat.com>
3 weeks agofix(logs): enhance timestamp format to include timezone in logs
MayorFaj [Sat, 6 Dec 2025 12:53:43 +0000 (12:53 +0000)]
fix(logs): enhance timestamp format to include timezone in logs

Signed-off-by: MayorFaj <mayorfaj@gmail.com>
3 weeks agofix(logs): add tests for nanosecond precision in log timestamps
MayorFaj [Sat, 6 Dec 2025 12:17:39 +0000 (12:17 +0000)]
fix(logs): add tests for nanosecond precision in log timestamps

Signed-off-by: MayorFaj <mayorfaj@gmail.com>
3 weeks agodocs: Update filter options and add podman ps documentation
MayorFaj [Sat, 6 Dec 2025 10:44:47 +0000 (10:44 +0000)]
docs: Update filter options and add podman ps documentation

Signed-off-by: MayorFaj <mayorfaj@gmail.com>
3 weeks agofix(logs): improve timestamp precision in container logs
MayorFaj [Fri, 5 Dec 2025 16:28:29 +0000 (16:28 +0000)]
fix(logs): improve timestamp precision in container logs

Signed-off-by: MayorFaj <mayorfaj@gmail.com>
3 weeks agoMerge pull request #27687 from mheon/deterministic_pod_inspect
openshift-merge-bot[bot] [Fri, 5 Dec 2025 14:07:55 +0000 (14:07 +0000)]
Merge pull request #27687 from mheon/deterministic_pod_inspect

Deterministically order pod inspect fields

3 weeks agodocs: Deduplicate --filter descriptions
MayorFaj [Fri, 5 Dec 2025 00:36:53 +0000 (00:36 +0000)]
docs: Deduplicate --filter descriptions

Signed-off-by: MayorFaj <mayorfaj@gmail.com>
3 weeks agoDeterministically order pod inspect fields
Matt Heon [Thu, 4 Dec 2025 20:25:11 +0000 (15:25 -0500)]
Deterministically order pod inspect fields

There are two fields I'm worried about: shared namespaces and pod
containers. Both are generated via loops over maps and are thus
non-deterministic in ordering. Throw a sort on each to fix the
order so we can actually diff `podman pod inspect` output.

Signed-off-by: Matt Heon <mheon@redhat.com>
3 weeks agoMerge pull request #27672 from Luap99/workdir
openshift-merge-bot[bot] [Thu, 4 Dec 2025 15:52:35 +0000 (15:52 +0000)]
Merge pull request #27672 from Luap99/workdir

libpod: fix workdir MkdirAll() all check

3 weeks agoMerge pull request #27645 from containers/renovate/github.com-shirou-gopsutil-v4-4.x
openshift-merge-bot[bot] [Thu, 4 Dec 2025 15:35:39 +0000 (15:35 +0000)]
Merge pull request #27645 from containers/renovate/github.com-shirou-gopsutil-v4-4.x

Update module github.com/shirou/gopsutil/v4 to v4.25.11

3 weeks agoMerge pull request #27619 from Honny1/fix-unless-stopped-reboot
openshift-merge-bot[bot] [Thu, 4 Dec 2025 15:04:10 +0000 (15:04 +0000)]
Merge pull request #27619 from Honny1/fix-unless-stopped-reboot

Fix `unless-stopped` restart policy to match Docker behavior

3 weeks agolibpod: simplify resolveWorkDir()
Paul Holzinger [Wed, 3 Dec 2025 18:15:24 +0000 (19:15 +0100)]
libpod: simplify resolveWorkDir()

The code checks for isPathOnVolume and isPathOnMount so we can just use
the SecureJoin here directly to check for path existance.

Then instead of walking symlinks and trying to guess if they are on a
mount just assume if it is a link (path is different from the normal
joined one) then don't error out early and let the OCI runtime deal with
it. The runtime does produce a less readable error but it still fails
and we have much less fragile code.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
3 weeks agolibpod: fix workdir MkdirAll() all check
Paul Holzinger [Wed, 3 Dec 2025 15:57:15 +0000 (16:57 +0100)]
libpod: fix workdir MkdirAll() all check

MkdirAll can fail with EEXIST when the path is a symlink and the target
doesn't exist. As such we should ignore the error.

Note there is something fundemantal wrong here with the path access as
it is following the symlink to the host, however it is only for a
stat() so it is not an security issue here.

Fixes: 637c264e2e ("fix issues found by nilness")
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
3 weeks agoMerge pull request #27602 from ZuhairM7/fix-remote-build-secrets
openshift-merge-bot[bot] [Thu, 4 Dec 2025 13:15:24 +0000 (13:15 +0000)]
Merge pull request #27602 from ZuhairM7/fix-remote-build-secrets

bindings: fix handling of env secrets in remote builds

3 weeks agoMerge pull request #27664 from givensuman/T-27632-list-json-bug
openshift-merge-bot[bot] [Thu, 4 Dec 2025 13:12:38 +0000 (13:12 +0000)]
Merge pull request #27664 from givensuman/T-27632-list-json-bug

Add Repository and Tag fields to image list --format JSON output

3 weeks agoAdd Repository and Tag fields to image list --format JSON output
givensuman [Tue, 2 Dec 2025 18:08:44 +0000 (13:08 -0500)]
Add Repository and Tag fields to image list --format JSON output

Adds two fields to the output of `podman image list --format json`,
"Repository" and "Tag." Consequently makes the existing embedded field
"RepoTag" redundant, and in current implementation is always `nil`. Adds
`json:",omitempty"` to improve program output.

Fixes: #27632
Signed-off-by: givensuman <givensuman@duck.com>
3 weeks agoMerge pull request #27663 from HastD/zizmor-workflow
openshift-merge-bot[bot] [Wed, 3 Dec 2025 15:29:57 +0000 (15:29 +0000)]
Merge pull request #27663 from HastD/zizmor-workflow

ci: add Zizmor workflow

3 weeks agoMerge pull request #27551 from lsm5/cgv1-removal-vendor
openshift-merge-bot[bot] [Wed, 3 Dec 2025 14:00:04 +0000 (14:00 +0000)]
Merge pull request #27551 from lsm5/cgv1-removal-vendor

CGgroups v1 cleanup: Round 2 w/ container-libs vendoring

3 weeks agoci: add Zizmor workflow
Daniel Hast [Tue, 2 Dec 2025 23:11:53 +0000 (18:11 -0500)]
ci: add Zizmor workflow

Zizmor (https://docs.zizmor.sh/) is a static analysis tool for GitHub
Actions. Most of the issues identified by Zizmor were fixed in #27642.
This Zizmor action integrates with GitHub Advanced Security and scans
workflows for potential security issues, which should help ensure that
such issues aren't reintroduced in the future.

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
3 weeks agobindings: fix handling of env secrets in remote builds
ZuhairM7 [Sun, 30 Nov 2025 02:43:20 +0000 (20:43 -0600)]
bindings: fix handling of env secrets in remote builds

Previously, using --secret=id=foo,env=BAR in remote mode would fail because the client sent the env var name to the server, which tried to resolve it locally. This patch modifies the client to resolve the environment variable locally, write it to a temp file, and send it as a file-based secret.

Fixes #27494

Signed-off-by: ZuhairM7 <ZuhairM7>
Signed-off-by: ZuhairM7 <zuhairmerali@gmail.com>
3 weeks agovendor: update container-libs to df55d6c661e8 for cgv1 removal
Lokesh Mandvekar [Mon, 24 Nov 2025 19:33:49 +0000 (14:33 -0500)]
vendor: update container-libs to df55d6c661e8 for cgv1 removal

Also simplifies cgroups.AvailableControllers

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
3 weeks agoMerge pull request #27662 from baude/addperltomakevalidatepr
openshift-merge-bot[bot] [Tue, 2 Dec 2025 19:27:27 +0000 (19:27 +0000)]
Merge pull request #27662 from baude/addperltomakevalidatepr

Add perl to make validatepr

3 weeks agoAdd perl to make validatepr
Brent Baude [Tue, 2 Dec 2025 18:47:34 +0000 (12:47 -0600)]
Add perl to make validatepr

Users reported that our container image for make validatepr needs perl
base installed.

Signed-off-by: Brent Baude <bbaude@redhat.com>
3 weeks agoadd windows platform tests
lstocchi [Mon, 1 Dec 2025 17:03:16 +0000 (18:03 +0100)]
add windows platform tests

Signed-off-by: lstocchi <lstocchi@redhat.com>
3 weeks agofix failing windows platform tests
lstocchi [Mon, 1 Dec 2025 16:30:37 +0000 (17:30 +0100)]
fix failing windows platform tests

fixes broken windows tests and enables them to be run on
windows CI

Signed-off-by: lstocchi <lstocchi@redhat.com>
3 weeks agoprevent non hyper-v admin users to execute machine commands
lstocchi [Mon, 1 Dec 2025 15:49:51 +0000 (16:49 +0100)]
prevent non hyper-v admin users to execute machine commands

Update GetAll() and GetByVMType() to add a check to prevent non hyper-v admin users to
interact with hyperv machines.
Users can work with hyperv machines only with elevated rights or if
members of the hyperv administrators group

Signed-off-by: lstocchi <lstocchi@redhat.com>
3 weeks agoFix `unless-stopped` restart policy to match Docker behavior
Jan Rodák [Wed, 26 Nov 2025 13:16:51 +0000 (14:16 +0100)]
Fix `unless-stopped` restart policy to match Docker behavior

- Update documentation: Differentiate `unless-stopped` from `always` - containers stopped by the user before a reboot will not restart.
- Add `should-start-on-boot` filter: Identify containers that require a restart after a system reboot.
- Update command documentation: Add `restart-policy` and `label!` filters to the documentation for container commands (rm, ps, start, stop, pause, unpause, restart).
- Add `restart-policy` and `shoud-start-on-boot` to completions.
- Update service: Update `podman-restart.service` to use the `needs-restart=true` filter.
- Preserve state: Preserve the `StoppedByUser` state across reboots.
- Update API: Add a `ShouldStartOnBoot()` method to the Container API.
- Update documentation: Add descriptions for the `should-start-on-boot` filter.

Fixes: https://issues.redhat.com/browse/RHEL-129405
Fixes: https://github.com/containers/podman/issues/20418
Signed-off-by: Jan Rodák <hony.com@seznam.cz>
3 weeks agoMerge pull request #27642 from HastD/zizmor-issues
openshift-merge-bot[bot] [Tue, 2 Dec 2025 14:17:46 +0000 (14:17 +0000)]
Merge pull request #27642 from HastD/zizmor-issues

ci: fix Zizmor-identified issues in workflows

3 weeks agoci: use env vars to avoid template expansion in code contexts
Daniel Hast [Mon, 1 Dec 2025 13:29:24 +0000 (08:29 -0500)]
ci: use env vars to avoid template expansion in code contexts

Template expansions are not aware of shell script syntax, and therefore
can potentially result in code injection vulnerabilities when used in
code contexts: https://docs.zizmor.sh/audits/#template-injection

To avoid this, instead use environment variables to safely store the
values of the template expansions.

Also (in the process of doing the above) added double-quotes around a
some instances of variable expansions in shell scripts, which is
necessary to avoid unintended shell splitting and globbing. (I didn't
see any instances where this was actually likely to result in erroneous
behavior, but it's good practice and makes shell scripts more robust.)

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
3 weeks agoci: use --sandbox for dynamically generated sed scripts
Daniel Hast [Mon, 1 Dec 2025 13:05:02 +0000 (08:05 -0500)]
ci: use --sandbox for dynamically generated sed scripts

sed scripts are capable of doing file I/O and executing arbitrary
commands. The `--sandbox` option prevents this by rejecting sed commands
with such capabilities; it's good practice to use this whenever the sed
script is dynamically generated (e.g. if it involves a variable
expansion).

Also fixed an error in one sed script where `.*` had been placed outside
of the quoted string (and would therefore be subject to shell globbing),
presumably due to single-quotes having been changed to double-quotes at
some point in the past.

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
3 weeks agoci: pass secrets explicitly to reusable workflow
Daniel Hast [Mon, 1 Dec 2025 12:50:53 +0000 (07:50 -0500)]
ci: pass secrets explicitly to reusable workflow

Using `secrets: inherit` forwards all secrets to the workflow and makes
it harder to determine which secrets the workflow was actually executed
with. See: https://docs.zizmor.sh/audits/#secrets-inherit

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
3 weeks agoci: disable caching for actions/setup-go
Daniel Hast [Mon, 1 Dec 2025 12:47:54 +0000 (07:47 -0500)]
ci: disable caching for actions/setup-go

This mitigates a potential cache-poisoning attack. For details, see:
https://docs.zizmor.sh/audits/#cache-poisoning

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
3 weeks agoci: specify persist-credentials for actions/checkout
Daniel Hast [Mon, 1 Dec 2025 12:38:24 +0000 (07:38 -0500)]
ci: specify persist-credentials for actions/checkout

Explicitly set `persist-credentials: true` for uses of
`actions/checkout` where it's needed (when the job does git operations
using the stored credentials) and `persist-credentials: false` where the
stored credentials are not later used.

This reduces the risk of cached credentials accidentally being leaked
via artifacts.

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
3 weeks agoci: specify workflow permissions per job
Daniel Hast [Mon, 1 Dec 2025 12:30:41 +0000 (07:30 -0500)]
ci: specify workflow permissions per job

Also remove some unnecessary permissions:

* The notification job in release-artifacts.yml only needs to read repo
  contents, not write contents and actions.
* All jobs in release.yml except "Create release" and "Update podman.io"
  only need to read repo contents. "Update podman.io" only needs to
  write repo contents and pull requests.
* Likewise, permissions for update-podmanio.yml can be restricted to
  only writing repo contents and pull requests.

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
3 weeks agoci: pin 3rd-party action dependencies by commit hashes
Daniel Hast [Mon, 1 Dec 2025 12:02:57 +0000 (07:02 -0500)]
ci: pin 3rd-party action dependencies by commit hashes

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
3 weeks agoUpdate module github.com/shirou/gopsutil/v4 to v4.25.11
renovate[bot] [Mon, 1 Dec 2025 13:25:37 +0000 (13:25 +0000)]
Update module github.com/shirou/gopsutil/v4 to v4.25.11

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 weeks agoMerge pull request #27644 from containers/renovate/github.com-sirupsen-logrus-digest
openshift-merge-bot[bot] [Mon, 1 Dec 2025 13:23:46 +0000 (13:23 +0000)]
Merge pull request #27644 from containers/renovate/github.com-sirupsen-logrus-digest

Update github.com/sirupsen/logrus digest to b61f268

3 weeks agoUpdate github.com/sirupsen/logrus digest to b61f268
renovate[bot] [Mon, 1 Dec 2025 10:14:35 +0000 (10:14 +0000)]
Update github.com/sirupsen/logrus digest to b61f268

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 weeks agoMerge pull request #27638 from containers/renovate/common-image-and-storage-deps
openshift-merge-bot[bot] [Mon, 1 Dec 2025 10:12:26 +0000 (10:12 +0000)]
Merge pull request #27638 from containers/renovate/common-image-and-storage-deps

Update common, image, and storage deps to 94e31d2

3 weeks agoUpdate common, image, and storage deps to 94e31d2
renovate[bot] [Sun, 30 Nov 2025 01:50:27 +0000 (01:50 +0000)]
Update common, image, and storage deps to 94e31d2

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
4 weeks agoMerge pull request #27608 from kyounghunJang/feature/Add-DefaultNetwork
openshift-merge-bot[bot] [Fri, 28 Nov 2025 11:20:27 +0000 (11:20 +0000)]
Merge pull request #27608 from kyounghunJang/feature/Add-DefaultNetwork

feat(info): expose default network name

4 weeks agoMerge pull request #27621 from travier/main-docs-fixup
openshift-merge-bot[bot] [Fri, 28 Nov 2025 10:57:26 +0000 (10:57 +0000)]
Merge pull request #27621 from travier/main-docs-fixup

docs/podman.1: Fix leftover rootless mention

4 weeks agoAdd test for exposing default network name in podman info
Kyounghoon Jang [Thu, 27 Nov 2025 01:14:52 +0000 (10:14 +0900)]
Add test for exposing default network name in podman info

Fixes #27580

Signed-off-by: Kyounghoon Jang <matkimchi_@naver.com>
4 weeks agodocs/podman.1: Fix leftover rootless mention
Timothée Ravier [Thu, 27 Nov 2025 16:00:39 +0000 (17:00 +0100)]
docs/podman.1: Fix leftover rootless mention

Fixes: https://github.com/containers/podman/pull/16371/commits/75f42157170de9aeb9d0fcd87e0a7e9e60fac353
Signed-off-by: Timothée Ravier <tim@siosm.fr>
4 weeks agoMerge pull request #27599 from inknos/get-quadlet-api
openshift-merge-bot[bot] [Thu, 27 Nov 2025 10:09:38 +0000 (10:09 +0000)]
Merge pull request #27599 from inknos/get-quadlet-api

Add GET /quadlets/{name}

4 weeks agoMerge pull request #27612 from l0rd/win-default-helper-binaries
openshift-merge-bot[bot] [Wed, 26 Nov 2025 19:42:30 +0000 (19:42 +0000)]
Merge pull request #27612 from l0rd/win-default-helper-binaries

Replace FindExecutablePeer with FindHelperBinary when looking for gvproxy/win-sshproxy on WSL

4 weeks agolibpod: fix healthchecks not executing every interval on linux
Winter M [Mon, 20 Oct 2025 18:23:38 +0000 (14:23 -0400)]
libpod: fix healthchecks not executing every interval on linux

By default, systemd sets a limit of how many times a service can start,
which means that if you have a healthcheck that runs more often than the
limits, systemd will refuse to start it with a message like "Start request
repeated too quickly." emitted to the journal.

Signed-off-by: Winter M <winter@antithesis.com>
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
4 weeks agoAdd GET /quadlets/{name}/file
Nicola Sella [Wed, 12 Nov 2025 15:15:07 +0000 (16:15 +0100)]
Add GET /quadlets/{name}/file

Fixes: https://issues.redhat.com/browse/RUN-3716
Signed-off-by: Nicola Sella <nsella@redhat.com>
4 weeks agoMerge pull request #27413 from 0xDVC/fix-26848-userns-pod-validation
openshift-merge-bot[bot] [Wed, 26 Nov 2025 15:37:00 +0000 (15:37 +0000)]
Merge pull request #27413 from 0xDVC/fix-26848-userns-pod-validation

Fix user namespace validation for containers in pods

4 weeks agoMerge pull request #27488 from lsm5/packit-rpm-test
openshift-merge-bot[bot] [Wed, 26 Nov 2025 14:36:33 +0000 (14:36 +0000)]
Merge pull request #27488 from lsm5/packit-rpm-test

Packit/TMT: Exclude podman packages from podman-next for tests

4 weeks agoReplace FindExecutablePeer with FindHelperBinary
Mario Loriedo [Wed, 26 Nov 2025 12:19:18 +0000 (13:19 +0100)]
Replace FindExecutablePeer with FindHelperBinary

The WSL machine start was using the function FindExecutablePeer that
ignores user configuration (helper_binaries_dir). FindHelperBinary
instead is used when starting the machine for the rest of the providers
and honors user configuration.

This commit requires https://github.com/containers/container-libs/commit/4877783c373caf006a6d031db4d39ef4c6f3cf55

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
4 weeks agoVendor container-libs to get Windows defaultHelperBinaries fix
Mario Loriedo [Wed, 26 Nov 2025 13:51:50 +0000 (14:51 +0100)]
Vendor container-libs to get Windows defaultHelperBinaries fix

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>