pid1,cgroup-show: ignore -EOPNOTSUPP in cg_read_pid() v250.3
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 12 Jan 2022 15:09:38 +0000 (00:09 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 18 Jan 2022 11:35:43 +0000 (12:35 +0100)
commit1b003bbc806198dbdd57b405d968f30565495e70
treee5cfc2af7d2f0a16dfc5ea4d661023ff86db1a83
parent7fc41274e6720c655b68f0266a5d9168e5b1980a
pid1,cgroup-show: ignore -EOPNOTSUPP in cg_read_pid()

The function is called in recursion, and cgroup.procs in some subcgroups
may not be read.

Fixes #22089.

(cherry picked from commit 1fb50408ce23e67e0be94ead69c891d26b4823e2)
src/core/dbus-unit.c
src/shared/cgroup-show.c