archlinux / contrib

Arch contrib scripts
GNU General Public License v2.0
63 stars 18 forks source link

checkservices: cgroup v2 base path #34

Closed lahwaacz closed 3 years ago

lahwaacz commented 3 years ago

checkservices currently checks /sys/fs/cgroup/systemd as the cgroup base path: https://github.com/archlinux/contrib/blob/48e9539aaf6cf8f47f7b0d232c0b2a9701adecd7/admin/checkservices#L31

However, if the cgroup v2 hierarchy is used, /sys/fs/cgroup/systemd does not exist and systemd uses /sys/fs/cgroup directly.

Foxboron commented 3 years ago

That probably solves it?

lahwaacz commented 3 years ago

Yes, seems it does.