]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ss: Tone down cgroup path resolution
authorMichal Koutný <mkoutny@suse.com>
Fri, 21 Feb 2025 09:29:26 +0000 (10:29 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 25 Feb 2025 18:21:08 +0000 (10:21 -0800)
commit99c119a0de0d76effe6926ce213d041cea54aa7a
tree5dabd054deb974e27b9dcc851af3b5aef94ca74e
parent41710ace5e8fadff354f3dba67bf27ed3a3c5ae7
ss: Tone down cgroup path resolution

Sockets and cgroups have different lifetimes (e.g. fd passing between
cgroups) so obtaining a cgroup id to a removed cgroup dir is not an
error. Furthermore, the message is printed for each such a socket (which
is redundant each such socket's cgroup is shown as 'unreachable').
Improve user experience by silencing these specific errors.

Signed-off-by: Michal Koutný <mkoutny@suse.com>
lib/fs.c