Files
containerd/internal/cri
Wei Fu cf07f28ee2 *: should align pipe's owner with init process
The containerd-shim creates pipes and passes them to the init container as
stdin, stdout, and stderr for logging purposes. By default, these pipes are
owned by the root user (UID/GID: 0/0). The init container can access them
directly through inheritance.

However, if the init container attempts to open any files pointing to these
pipes (e.g., /proc/1/fd/2, /dev/stderr), it will encounter a permission issue
since it is not the owner. To avoid this, we need to align the ownership of
the pipes with the init process.

Fixes: #10598

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-11-20 18:01:26 +00:00
..
2024-02-02 10:12:08 -08:00
2024-08-15 06:08:30 +09:00
2024-02-02 10:12:08 -08:00
2024-10-18 16:04:54 -07:00
2024-02-02 10:12:08 -08:00
2024-06-28 15:32:11 -07:00
2024-03-20 11:11:24 +01:00
2024-03-20 11:05:25 +01:00
2024-02-02 10:12:08 -08:00
2024-10-21 13:23:25 -04:00