25999 Commits

Author SHA1 Message Date
906f87b985 Merge pull request #27030 from Luap99/new-images
New VM images 2025-09-10
2025-09-10 14:14:58 +00:00
e03a5d2ca8 Merge pull request #26985 from mheon/add_design_doc_conmonv3
Add a directory for design documents
2025-09-10 13:38:39 +00:00
8537afca66 test/e2e: fix podman run default mask test with crun 1.24
The ls call for the directory now fails with EACCES, see
https://github.com/containers/crun/issues/1876

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-10 14:52:09 +02:00
3bb32d846b test/system: skip noswap memory mounts correctly
On debian with an older we get this error instead:
fsconfig() failed: tmpfs: Unknown parameter 'noswap'

So handle that case as well to skip the test correctly.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-10 14:52:08 +02:00
52fcdcf64c test/system: skip idmapped mount correctly
The full error message is:
failed to create idmapped mount: mount_setattr /tmp/CI_SKPI/podman_bats.RX6gD9/rootfs: invalid argument

So in order to match this account for the variable part.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-10 14:52:08 +02:00
bd7aada776 cirrus: update to freebsd 14.3
Freebsd 13.4 is EOL so update to the latest one.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-10 14:33:39 +02:00
710e216390 cirrus: fix golangci-lint cache leak
Do not use reupload_on_changes, this will make the cache grow unbound
and I have seen the cache become so large then restoring it and
uploading it took several minutes thus making the task time worse
compared to no cache. I manually cleaned the cache a few times to fix
this but it need to properly be fixed here.

To not have a stale cache for to long also use date +%U which will
create a new cache once a week. This is in line with the offical
golangci-lint github action which invalidates the cache every 7 days by
default[1].

[1] https://github.com/golangci/golangci-lint-action/blob/main/README.md#cache-invalidation-interval

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-10 14:23:51 +02:00
a720139dd8 New VM images 2025-09-10
https://github.com/containers/automation_images/pull/416

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-10 12:55:11 +02:00
cf06546b7f Merge pull request #26877 from Honny1/build-speedup
refactor: Modularize binding build functions
2025-09-10 10:43:47 +00:00
5b10b51788 Add a directory for design documents
Add a new directory, which I'm currently dubbing "Features", in
which will live design documents - descriptions of Podman
features that will be implemented or are being implemented.
Add a README and template to this directory to make the purpose
clear and enable easy addition of new design documents.

Signed-off-by: Matt Heon <matthew.heon@pm.me>
2025-09-09 18:12:38 -04:00
737108ba04 Merge pull request #27031 from Luap99/makefile-helper-dir
Makefile: restore HELPER_BINARIES_DIR
2025-09-09 19:54:10 +00:00
c8854f290e Merge pull request #27027 from ygalblum/quadlet-build-file-spec
Quadlet build - consider File path that starts with a systemd specifier as absolute
2025-09-09 19:09:35 +00:00
936a01e088 Quadlet build - consider File path that starts with a systemd specifier as absolute
Fixes https://github.com/containers/podman/issues/26746

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2025-09-09 13:57:36 -04:00
3d5aeba29f Merge pull request #27028 from containers/renovate/google.golang.org-protobuf-1.x
fix(deps): update module google.golang.org/protobuf to v1.36.9
2025-09-09 15:47:26 +00:00
d0be0e9659 Makefile: restore HELPER_BINARIES_DIR
We need to update the import path over the variable overwrite after the
monorepo move.

Fixes: #27029
Fixes: a98154a9 ("Switch common, storage and image to monorepo.")

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-09 17:19:15 +02:00
2bed9a40bc fix(deps): update module google.golang.org/protobuf to v1.36.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-09 14:28:38 +00:00
c70c0ac13e refactor: Modularize binding build functions
- Split the monolithic Build() function into focused helper functions.
- Add a TempFileManager for proper temporary file lifecycle management.

This refactoring is in preparation for implementing a local build API.

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-09-09 14:49:45 +02:00
8900d8e77b Merge pull request #26984 from Luap99/pflag
update module github.com/spf13/pflag to v1.0.10
2025-09-09 11:27:39 +00:00
c38babff57 Adding github action to generate a badge for first time contributor
This github action uses the certficate_generator.html from automation
repo to generate the badge for first time contributors and commits the
badge to the same repo which will be commented on the PR once its get
merged.

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2025-09-08 12:07:47 -04:00
9dd5fb2c99 Merge pull request #26950 from jiridostal/sigpipe-handler
Handle SIGPIPE to prevent machine stuck in Starting state
2025-09-08 14:12:54 +00:00
26c3d0e87d Merge pull request #27002 from Luap99/quadlet-doc
docs: restore podman-systemd.unit.5
2025-09-08 13:01:59 +00:00
2dcc40e469 Merge pull request #27001 from Luap99/cve-test
test/e2e: add CVE-2025-9566 regression test
2025-09-08 12:59:10 +00:00
f30567e3fa Merge pull request #26898 from andershausding/fix_missing_content_type_header
fix: Correct order of setting up header fields for endpoint responses
2025-09-08 12:45:03 +00:00
8566ef71c0 fix: set header fields before response status code to prevent missing fields
Signed-off-by: Anders Hausding <anders.hausding@siemens.com>
2025-09-08 09:06:36 +02:00
b6d92f7df5 Merge pull request #27004 from containers/renovate/github.com-opencontainers-cgroups-0.x
fix(deps): update module github.com/opencontainers/cgroups to v0.0.5
2025-09-06 14:53:49 +00:00
50a3e3cf8a fix(deps): update module github.com/opencontainers/cgroups to v0.0.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-05 21:46:04 +00:00
6c4b98c940 test/e2e: add CVE-2025-9566 regression test
Ensure we do not regress again.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-05 19:41:55 +02:00
cab3c6de6d docs: restore podman-systemd.unit.5
There are endless of links pointing to this document we should not get
rid of that.
Also I find having two podman-quadlet with different numbers rather
confusing, while I understand the motivation I think for most users this
is not intuitive. Most people will not type the man section numbers.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-05 18:59:19 +02:00
c8183c50a0 Merge pull request #26929 from jankaluza/quadlet-docs
Rewrite the Quadlet documentation.
2025-09-05 14:29:27 +00:00
ea41e54fea Merge pull request #26995 from containers/renovate/github.com-onsi-ginkgo-v2-2.x
Update module github.com/onsi/ginkgo/v2 to v2.25.3
2025-09-05 13:56:17 +00:00
7a9d12b226 Merge pull request #26911 from Honny1/refactro-build-rest-api
refactor: modularize build REST API with utility functions
2025-09-05 13:30:57 +00:00
6756eb3412 Deduplicate more options.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2025-09-05 15:26:16 +02:00
e569f80117 Merge pull request #26979 from containers/renovate/github.com-docker-docker-28.x
fix(deps): update module github.com/docker/docker to v28.4.0+incompatible
2025-09-05 10:14:10 +00:00
96abdfdec6 Merge pull request #26977 from jakmeier/fix-quadlet-mount-panic
quadlet: fix runtime error for invalid Mount value
2025-09-05 09:57:43 +00:00
2745c9e50e Merge pull request #26912 from markjdb/main
Fix several FreeBSD integration problems
2025-09-05 09:44:01 +00:00
a33b6bded2 Merge pull request #26988 from containers/renovate/pytest-8.x
Update dependency pytest to v8.4.2
2025-09-05 09:41:15 +00:00
421a7a8c34 Merge pull request #26993 from containers/renovate/actions-labeler-6.x
[skip-ci] Update actions/labeler action to v6
2025-09-05 09:18:30 +00:00
fdeaf2905f Update module github.com/onsi/ginkgo/v2 to v2.25.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 20:44:52 +00:00
163bdf2df8 quadlet: fix runtime error for invalid Mount value
If the `Mount` option inside a quadlet is missing the source=... part,
the code today panics with the following message.

```
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/containers/podman/v5/pkg/systemd/quadlet.handleStorageSource(0xc000140de0?, 0x1d?, {0x0?, 0x1?}, 0x5634e39e233e?, 0x10?)
...
```

This commit checks for the missing source and returns an error to avoid the panic.

Signed-off-by: Jakob Meier <mail@jakobmeier.ch>
2025-09-04 21:46:01 +02:00
792bbd2046 [skip-ci] Update actions/labeler action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 19:19:52 +00:00
c24b8f6f56 Merge commit from fork
kube play: don't follow volume symlinks onto the host
2025-09-04 18:36:26 +02:00
853dd36da3 Update dependency pytest to v8.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 15:56:34 +00:00
c3bf7058aa Merge pull request #26986 from mheon/tmpfiles_remove
Add R! to systemd-tmpfiles script for all /tmp dirs
2025-09-04 15:55:47 +00:00
43fbde4e66 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>
2025-09-04 16:18:35 +02:00
4b66e5a27b 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 09:51:37 -04:00
c2506656c4 spf13/pflag: replace deprecated ParseErrorsWhitelist
Use ParseErrorsAllowlist instead, should still work the exact same.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-04 14:04:47 +02:00
ca9c8d104e update module github.com/spf13/pflag to v1.0.10
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-04 14:02:50 +02:00
2499de2f27 Merge pull request #26982 from containers/renovate/actions-stale-10.x
[skip-ci] Update actions/stale action to v10
2025-09-04 09:24:20 +00:00
836b897178 Merge pull request #26980 from containers/renovate/actions-setup-go-6.x
[skip-ci] Update actions/setup-go action to v6
2025-09-04 09:21:31 +00:00
889a5fd0ac [skip-ci] Update actions/stale action to v10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 09:11:18 +00:00