spiegel_podman/pkg
Victor Irzak fb0d9e3dcc Omit unlimited pids limit for rootless cgroupfs
Rootless with the cgroupfs manager the pids controller is often not
delegated, as on WSL machines. The default path already skips the pids
limit there, but an explicit unlimited value (--pids-limit -1 or 0, the
PidsLimit=0 every Docker client sends, or pids.limit 0 on the libpod
API) still reached crun, which then failed with "controller `pids` is
not available".

A new cgroup has no pids limit anyway, so drop an unlimited limit in
that case. Finite limits are left as they are.

Fixes: https://github.com/podman-container-tools/podman/issues/29909
Signed-off-by: Victor Irzak <victor.irzak@zomp.com>
(cherry picked from commit f41dc744b2)
2026-10-06 13:51:19 +02:00
..
annotations RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
api run modernize -fix ./... 2026-09-11 09:07:26 -04:00
auth api/compat: switch to moby/moby 2026-03-09 11:09:23 +01:00
autoupdate RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
bindings run modernize -fix ./... 2026-09-11 09:07:26 -04:00
channel bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
checkpoint checkpoint: close rootfs tar stream after use 2026-06-24 12:32:18 +03:00
copy pkg/copy: add tests for ParseSourceAndDestination 2026-06-24 22:25:26 +05:30
criu run go fix ./... 2026-09-11 09:07:25 -04:00
ctime update golangci/golangci-lint to v1.63.4 2025-01-07 15:48:53 +01:00
domain Revert "Enable 'podman run' for checkpoint images" 2026-09-29 08:36:29 -04:00
emulation fix some missing scanner error checks 2026-06-30 10:32:32 +02:00
env run modernize -fix ./... 2025-09-10 16:17:04 +02:00
errorhandling pkg/errorhandling: remove deadcode 2025-06-26 19:37:14 +02:00
farm RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
fileserver RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
inspect RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
k8s.io RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
logiface run modernize -fix ./... 2025-09-10 16:17:04 +02:00
lookup Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
machine Fix the regression on WSL v3: force using cgroufs 2026-10-05 17:14:06 +02:00
namespaces pkg/namespaces: add tests for UsernsMode and NetworkMode 2026-06-30 16:50:07 +05:30
parallel RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pidhandle add missing O_CLOEXEC to open calls 2026-04-02 15:06:37 +02:00
ps fix: Handle healthcheck log corruption gracefully 2026-06-29 13:03:47 +02:00
rctl use strings.SplitSeq where possible 2025-09-10 16:17:04 +02:00
rootless pkg/rootless: modernize 2026-05-22 12:25:21 -07:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux bump selinux to v1.15.1, use SetProcessKind 2026-06-02 11:18:34 -07:00
signal enable gofumpt formatter 2025-11-11 12:32:46 +01:00
specgen Omit unlimited pids limit for rootless cgroupfs 2026-10-06 13:51:19 +02:00
specgenutil specgen: move log_path handling over to the server 2026-06-03 09:22:50 +05:30
specgenutilexternal pkg/specgenutilexternal: add tests for FindMountType 2026-07-08 17:46:55 +05:30
syncmap Add syncmap package and use it for graph stop/remove 2025-02-17 14:32:34 -05:00
systemd pkg/systemd/notifyproxy: fix govet lint error 2026-09-11 09:07:26 -04:00
terminal Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
trust Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
util Honor label filters for volume prune when all is set 2026-06-29 17:51:27 +08:00