spiegel_podman/pkg
Victor Irzak f41dc744b2 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>
2026-10-06 06:10:13 -04:00
..
annotations run golangci-lint --fix 2026-09-04 16:30:10 +02:00
api image build contexts: pay attention to tlsVerify flags 2026-09-29 06:05:20 -04:00
auth api/compat: switch to moby/moby 2026-03-09 11:09:23 +01:00
autoupdate auto-update: Add container filters 2026-09-17 11:16:58 -04:00
bindings Update dependency golangci/golangci-lint to v2.14.0 2026-09-28 15:36:29 +02:00
channel pkg/channel: add tests for the channel WriteCloser 2026-07-25 17:11:50 +05:30
checkpoint silence new platform specific staticcheck issues 2026-09-04 17:21:15 +02:00
copy pkg/copy: add tests for ParseSourceAndDestination 2026-06-24 22:25:26 +05:30
criu run go fix ./... 2026-09-04 11:53:04 +02:00
ctime update golangci/golangci-lint to v1.63.4 2025-01-07 15:48:53 +01:00
domain Merge pull request #29637 from ROKUMATE/remove-dead-ps-pod-sort 2026-10-02 15:24:11 -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 farm: handle tagged --tag references on build 2026-08-19 12:44:54 +05:30
fileserver RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
inspect swagger: fix deprecated alias annotations and model name collisions 2026-08-10 22:14:47 +05:30
k8s.io added errorlint 2026-08-14 01:35:03 +05:30
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-02 17:48:08 +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 pkg/pidhandle: handle ESRCH from openByHandleAt 2026-09-29 13:21:09 -04:00
ps Performance: Use delayed regex compilation 2026-08-14 21:14:17 +05:30
rctl added errorlint 2026-08-14 01:35:03 +05:30
rootless Merge pull request #29657 from sundeep8967/fix/pause-process-environ 2026-09-28 12:54:47 +02: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 06:10:13 -04:00
specgenutil Merge pull request #29726 from r-vdp/compat-inline-seccomp 2026-09-24 09:01:54 -04:00
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 Merge pull request #29375 from Mahajan-Sachin/quadlet-volume-remainafterexit 2026-09-14 08:52:48 -04:00
terminal Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
trust pkg/trust: prevent panic on malformed GPG uid/pub lines 2026-08-13 23:51:56 +05:30
util pkg/util: delegate sysctl validation to c/common 2026-09-18 07:31:07 -05:00