totoro
2fa149f2c4
nspawn: set ping group range for userns containers
...
A newly created network namespace may disallow ICMP echo sockets for
unprivileged users even when their GIDs are mapped into the container.
When creating both user and network namespaces, initialize
net.ipv4.ping_group_range using the mapped GID range capped at INT32_MAX.
This follows the system-wide default from sysctl.d/50-default.conf while
respecting the user namespace mapping and the kernel's accepted limit.
Leave externally supplied network namespaces untouched and treat write
failures as non-fatal warnings.
Add regression coverage for the default 64K mapped range using the tools
already available in the minimal container image.
Fixes #41603
2026-08-26 11:45:35 +02:00
..
2026-08-24 13:45:07 +02:00
2026-08-25 11:04:22 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-25 14:45:16 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-07-19 20:21:47 +09:00
2026-08-24 13:45:07 +02:00
2026-08-21 22:05:25 +01:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 22:46:01 +09:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-07-10 16:35:19 +09:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-25 11:04:22 +02:00
2026-08-18 06:30:10 +09:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-07-08 12:13:43 +01:00
2026-07-10 16:35:19 +09:00
2026-08-04 22:46:13 +09:00
2026-07-15 02:18:05 +09:00
2026-08-14 11:59:58 +02:00
2026-07-10 16:35:19 +09:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-25 11:04:22 +02:00
2026-08-25 11:04:22 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-26 08:20:34 +09:00
2026-08-15 01:38:04 +09:00
2026-07-18 04:56:32 +09:00
2026-08-25 11:04:22 +02:00
2026-08-24 13:45:07 +02:00
2026-08-25 09:33:52 +02:00
2026-08-24 13:45:07 +02:00
2026-05-24 15:00:37 +02:00
2026-08-23 15:27:41 +09:00
2026-08-18 06:30:10 +09:00
2026-07-30 07:24:17 +09:00
2026-08-24 13:45:07 +02:00
2026-08-25 11:04:22 +02:00
2026-08-25 11:04:22 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-25 09:36:33 +02:00
2026-07-15 02:18:05 +09:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-25 11:04:22 +02:00
2026-08-24 13:45:07 +02:00
2026-08-26 11:45:35 +02:00
2026-08-12 10:49:34 +02:00
2026-07-11 17:09:14 +01:00
2026-06-26 16:03:18 -04:00
2026-07-15 02:18:05 +09:00
2026-08-25 11:04:22 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-07-10 16:35:19 +09:00
2026-08-24 13:45:07 +02:00
2026-07-01 18:18:00 +01:00
2026-08-24 13:45:07 +02:00
2026-07-10 16:35:19 +09:00
2026-08-25 14:45:16 +02:00
2026-08-25 14:45:16 +02:00
2026-08-25 11:04:22 +02:00
2026-08-24 13:46:21 +02:00
2026-08-24 13:45:07 +02:00
2026-08-26 08:20:34 +09:00
2026-07-24 00:35:10 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-25 11:04:22 +02:00
2026-08-25 09:33:58 +02:00
2026-08-24 13:45:07 +02:00
2026-08-25 09:33:59 +02:00
2026-08-04 22:46:13 +09:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-25 14:45:16 +02:00
2026-08-25 11:04:22 +02:00
2026-08-15 13:12:50 -07:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-25 11:04:22 +02:00
2026-08-25 07:22:47 +09:00
2026-08-24 13:45:07 +02:00
2026-07-29 11:41:17 +09:00
2026-07-10 16:35:19 +09:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-08-25 06:58:06 +09:00
2026-08-24 13:45:07 +02:00
2026-08-24 13:45:07 +02:00
2026-07-10 16:35:19 +09:00
2026-08-24 13:45:07 +02:00
2026-08-18 06:30:10 +09:00