Commit Graph

25553 Commits

Author SHA1 Message Date
Paul Holzinger ffec133766
pkg/bindings/containers: do not create sub slice
DemuxFrame() already returns a byte slice with the correct length so
this makes it simpler and the caller does not need to check this at all.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-07-10 19:57:16 +02:00
Paul Holzinger f42453457c
pkg/bindings/containers: don't check for short read
io.ReadFull() already returns ErrUnexpectedEOF if there was a short read
so this check is redundant and can be dropped.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-07-10 19:57:16 +02:00
openshift-merge-bot[bot] 9f264850d6
Merge pull request #26586 from Craig-Spencer-12/kube-secret-error
Clarifiy error message when using an improperly formatted secret with kube
2025-07-10 17:38:18 +00:00
Craig Spencer 5e44c17309 Clarifies error message when using an improperly formatted secret with kube
Fixes: #26586

Signed-off-by: Craig Spencer <craig.spencer812@gmail.com>
2025-07-10 12:19:28 -04:00
openshift-merge-bot[bot] cc84e29ddd
Merge pull request #26599 from giuseppe/fix-one-time-example
docs: replace fuse-overlayfs example with additionalimagestore
2025-07-10 13:09:09 +00:00
openshift-merge-bot[bot] 86dafb60bc
Merge pull request #26603 from containers/renovate/golang.org-x-term-0.x
fix(deps): update module golang.org/x/term to v0.33.0
2025-07-10 09:54:19 +00:00
renovate[bot] c01eaa87dd
fix(deps): update module golang.org/x/term to v0.33.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-10 08:47:54 +00:00
Giuseppe Scrivano 1c943f0ad8
docs: replace fuse-overlayfs example with additionalimagestore
The fuse-overlayfs example was misleading as setting fuse-overlayfs
will cause a persistent storage configuration change rather than a
one-time option.

Closes: https://github.com/containers/podman/issues/26590

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-07-09 23:13:41 +02:00
openshift-merge-bot[bot] faf975c737
Merge pull request #26593 from Luap99/ebpf
hack/podman_cleanup_tracer.bt: fixes to make it work on newer versions
2025-07-09 19:32:59 +00:00
Paul Holzinger b59648a2d6
hack/podman_cleanup_tracer.bt: check map before deleting keys
It seems the new bpftrace version since 0.22 logs a warning if we try to
delete a key that does not exist.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-07-09 14:02:11 +02:00
Paul Holzinger 1f8bc9d736
hack/podman_cleanup_tracer.bt: clamp str size for strcontains()
On bpftrace 0.22 this fails to compile and load so the script currently
does not show us anything in CI there.

We need to clamp the string size a bit 128 chars seems more than enough
for the podman/conmon binary path length.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-07-09 14:02:10 +02:00
Paul Holzinger 5e5bfadf93
hack/podman_cleanup_tracer.bt: use new max str lenth
The default has been set to 1024 which should bee good enough and better
than having to unroll this loop like that.
This is supported since bpftrace 0.22 which is in fedora 42.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-07-09 14:02:10 +02:00
openshift-merge-bot[bot] a479783d4b
Merge pull request #26583 from flouthoc/libpod_build
[docs] libpod/build: add headers
2025-07-08 16:44:51 +00:00
flouthoc 152849ebd2
libpod/build: add headers
Add `headers` for `/libpod/build`

Closes: https://github.com/containers/podman/issues/26440

Signed-off-by: flouthoc <flouthoc.git@gmail.com>
2025-07-08 06:51:32 -07:00
openshift-merge-bot[bot] 0737c19689
Merge pull request #26524 from mheon/libartifact_locking
Add basic locking to Libartifact
2025-07-08 13:01:25 +00:00
openshift-merge-bot[bot] aab1029b4f
Merge pull request #26584 from ninja-quokka/tidy_artifact_types
[Artifacts] Tidy artifact types
2025-07-08 10:16:01 +00:00
openshift-merge-bot[bot] 6100b04ce9
Merge pull request #26574 from containers/renovate/common-image-and-storage-deps
fix(deps): update common, image, and storage deps
2025-07-08 10:02:15 +00:00
renovate[bot] 0e106c24e0
fix(deps): update common, image, and storage deps
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-08 09:13:21 +00:00
openshift-merge-bot[bot] b047cfc7e9
Merge pull request #26563 from ygalblum/quadlet-warn-exec-parse-fail
Quadlet - print warning when fail to parse
2025-07-08 08:42:16 +00:00
Lewis Roy 0f61e48ac5
[Artifacts] Remove erroneous ArtifactListOptions var ImagePushOptions
This var has so far been unuesd so easy to remove

Signed-off-by: Lewis Roy <lewis@redhat.com>
2025-07-08 06:53:41 +10:00
Lewis Roy 53b5cb5581
[Artifacts] Add note about ArtifactInspectOptions Remote var
Signed-off-by: Lewis Roy <lewis@redhat.com>
2025-07-08 06:53:05 +10:00
Ygal Blum cd807f8ff6 Quadlet - print warning when fail to parse
Fixes: #26542

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2025-07-07 14:49:32 -04:00
openshift-merge-bot[bot] 8575b10776
Merge pull request #26582 from Craig-Spencer-12/manpages
manpages: adds example for podman system renumber
2025-07-07 18:17:30 +00:00
Craig Spencer 2b4b4c5b06 manpages: adds example for podman system renumber
Signed-off-by: Craig Spencer <craig.spencer812@gmail.com>
2025-07-07 13:58:56 -04:00
openshift-merge-bot[bot] d5a3878b69
Merge pull request #26553 from l0rd/wsl-utf8
Enforce WSL UTF-8 encoded output
2025-07-07 17:52:48 +00:00
Matt Heon b10beb5395 Add basic locking to Libartifact
Lock access to and modification of the index.json file, to ensure
concurrent addition/removal does not result in lost state. Use a
standard c/storage lockfile, making use of its r/w locking
ability to support concurrent access, only serializing writes.

This is not a very efficient locking scheme around artifact
removal and - especially - addition. I view this as the first
step, establishing any sort of mutual exclusion to prevent state
corruption. Step 2 is to adapt the staged removal work being
done to make image removal require only minimal use of locks,
ensuring it works with artifact addition. This staged addition
means we won't have to hold the lock for the full artifact pull.

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-07-07 13:50:00 -04:00
openshift-merge-bot[bot] 462df8f894
Merge pull request #26573 from imphil/checkpoint-docs-archive
Fix documentation around checkpoints
2025-07-07 10:14:01 +00:00
Philipp Wagner c5c6e44d7d Fix documentation around checkpoints
Checkpoint archives can now be zstd compressed, and are so by default.
Update the documentation to match.

Signed-off-by: Philipp Wagner <phw@ibm.com>
2025-07-06 17:16:29 +02:00
openshift-merge-bot[bot] c8272b23a5
Merge pull request #26552 from AgentEpsilon/quadlet-service-unsupported-keys
Quadlet - Error when units define User, Group, or DynamicUser in Serv…
2025-07-04 14:56:04 +00:00
openshift-merge-bot[bot] fe3e83faa7
Merge pull request #26568 from l0rd/debug-WSL
cirrus: setup WSL logging
2025-07-04 14:33:51 +00:00
Mario Loriedo 4410fcb394 cirrus: setup WSL logging
To debug some of the WSL issues we are seeing try to setup logging,
the script parts are taken from the offical logging script[1].

[1] https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-07-04 14:28:58 +02:00
openshift-merge-bot[bot] 00c431c3ca
Merge pull request #26238 from ArthurWuTW/26102
tmpfs: Add support for noatime mount option
2025-07-04 10:55:02 +00:00
openshift-merge-bot[bot] 98c271985d
Merge pull request #26570 from containers/renovate/common-image-and-storage-deps
fix(deps): update github.com/containers/image/v5 digest to 3532547
2025-07-04 10:10:57 +00:00
openshift-merge-bot[bot] 293a2ed3e7
Merge pull request #26564 from mheon/fix_rhel_96776
Fix `podman inspect` to correctly handle log_size_max
2025-07-04 09:45:33 +00:00
renovate[bot] 99e719aec8
fix(deps): update github.com/containers/image/v5 digest to 3532547
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 02:53:24 +00:00
Matt Heon 13816eb86f Fix `podman inspect` to correctly handle log_size_max
When generating Conmon's command line, we read containers.conf to
get log_size_max and used it if the container didn't override it.
However, `podman inspect` only reads from the container's own
config, and ignores containers.conf. Unify the way we determine
maximum log size with a single function and use it for both
inspect and containers.conf, and add a test for this behavior.

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

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-07-03 16:04:48 -04:00
Evan Miller 31b4efcaec warn instead of error, lift logic to main.go
Signed-off-by: Evan Miller <miller.evan815@gmail.com>
2025-07-02 18:23:00 -07:00
Mario Loriedo 68e7136536 Enforce wsl.exe UTF-8 encoded output
Currently WSL uses UTF-16 encoded output by default but is planning
to use UTF-8.

See https://github.com/containers/podman/issues/26527

To get ready for the change we are enforcing UTF-8 encoded output by
setting the environment variable `WSL_UTF8=1` and by updating the
code that transfomed wsl output from UTF-16 to UTF-8.

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

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-07-02 20:18:52 +00:00
Mario Loriedo 9fbe2fffe9 WSL commands execution refactoring
Introduced a new function to encapsulate the code to execute WSL
commands.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-07-02 20:18:52 +00:00
openshift-merge-bot[bot] 8234879708
Merge pull request #26559 from zeha/patch-1
Clarify meaning of --syslog
2025-07-02 17:50:26 +00:00
Chris Hofstaedtler 0f403ac43e
Clarify meaning of --syslog
Given container logs end up in syslog by default, somewhat-clarify that `--syslog` is about podman logs, not container logs.

Signed-off-by: Chris Hofstaedtler <zeha@users.noreply.github.com>
2025-07-02 18:32:52 +02:00
openshift-merge-bot[bot] 2a6f190e8f
Merge pull request #26540 from cevich/add_release_test
Add conditional release-checking system test
2025-07-02 12:34:47 +00:00
openshift-merge-bot[bot] cb2de88d13
Merge pull request #26551 from containers/renovate/common-image-and-storage-deps
fix(deps): update common, image, and storage deps
2025-07-02 11:58:05 +00:00
Evan Miller 4b1f7bcb9a Quadlet - Error when units define User, Group, or DynamicUser in Service group
Fixes: #26543

Signed-off-by: Evan Miller <miller.evan815@gmail.com>
2025-07-02 00:34:46 -07:00
renovate[bot] 5391721aa3
fix(deps): update common, image, and storage deps
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-02 03:28:11 +00:00
openshift-merge-bot[bot] 5d48c0b299
Merge pull request #26541 from Luap99/grpcnotrace
add grpcnotrace build tag to reduce binary size
2025-07-01 19:27:55 +00:00
openshift-merge-bot[bot] 72393c1c53
Merge pull request #26522 from ygalblum/quadlet-pod-service-environment
Quadlet - Do not override existing Environment in Service group for Pod units
2025-07-01 19:25:06 +00:00
openshift-merge-bot[bot] 313c48872f
Merge pull request #26537 from Luap99/update-CI-img
update CI images 2025-06-27
2025-07-01 19:22:15 +00:00
openshift-merge-bot[bot] c9f6feb6d5
Merge pull request #26545 from containers/renovate/github.com-shirou-gopsutil-v4-4.x
fix(deps): update module github.com/shirou/gopsutil/v4 to v4.25.6
2025-07-01 16:26:26 +00:00
openshift-merge-bot[bot] 6355a15082
Merge pull request #25922 from jakecorrenti/krunkit-cmdline
machine: enable nested virt on libkrun by default
2025-07-01 13:39:19 +00:00