I run this command
ss -tulpnoea|grep -i water|grep -v 127
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
.....
I tried with 2> /dev/null...
ss -tulpnoea|grep -i water|grep -v 127 2> /dev/null
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
Failed to find cgroup2 mount
.....
How to avoid the annoying message about cgroup2 mount? Distro is Slackware 15.0
cgroup2
virtual filesystem is meant to be mounted on/sys/fs/cgroup
, systemd takes care of that on systems that use it. Maybe you need to do it via/etc/fstab
on Slackware?ss
(iproute2) – as long as it only uses cgroups for looking up some auxiliary info, it should not assume that cgroups are in use on the system at all, rather than complaining.