Hi, everyone
On my system, ananicy-cpp.service isn’t working as intended or more correctly it starts before the cgroups controller is available.
╰─λ systemctl status ananicy-cpp.service
● ananicy-cpp.service - Ananicy-Cpp - ANother Auto NICe daemon in C++
Loaded: loaded (/usr/lib/systemd/system/ananicy-cpp.service; enabled; preset: disabled)
Active: active (running) since Fri 2025-09-12 12:34:44 +08; 1 day 3h ago
Invocation: db0ecf18c9204e65884aa5a8939f59cc
Main PID: 684 (ananicy-cpp)
Tasks: 4 (limit: 17698)
Memory: 8.7M (high: 16M, max: 64M, available: 7.2M, peak: 11.9M)
CPU: 21.634s
CGroup: /system.slice/ananicy-cpp.service
└─684 /usr/bin/ananicy-cpp start
Sep 12 12:34:44 wisejackal-laptop ananicy-cpp[684]: Ananicy Cpp
Sep 12 12:34:44 wisejackal-laptop ananicy-cpp[684]: [2025-09-12 12:34:44.397] [info] Starting Ananicy
Sep 12 12:34:44 wisejackal-laptop ananicy-cpp[684]: [2025-09-12 12:34:44.400] [warning] cgroup2 at /sys/fs/cgroup/ananicy_test_cgro>
Sep 12 12:34:44 wisejackal-laptop ananicy-cpp[684]: [2025-09-12 12:34:44.400] [info] Creating Cgroups...
Sep 12 12:34:44 wisejackal-laptop ananicy-cpp[684]: [2025-09-12 12:34:44.400] [warning] Cgroups are not available on this platform >
Sep 12 12:34:44 wisejackal-laptop ananicy-cpp[684]: [2025-09-12 12:34:44.400] [warning] Cgroups are not available on this platform >
Sep 12 12:34:44 wisejackal-laptop ananicy-cpp[684]: [2025-09-12 12:34:44.400] [warning] Cgroups are not available on this platform >
Sep 12 12:34:44 wisejackal-laptop ananicy-cpp[684]: [2025-09-12 12:34:44.400] [info] Finished creating Cgroups...
Sep 12 12:34:44 wisejackal-laptop ananicy-cpp[684]: [2025-09-12 12:34:44.402] [info] Doing a full scan
Sep 12 12:34:44 wisejackal-laptop ananicy-cpp[684]: [2025-09-12 12:34:44.413] [info] Worker initialized with 1383 rules
lines 1-21/21 (END)
After a manual systemctl restart ananicy-cpp.service
╰─λ systemctl status ananicy-cpp.service
lines 1--1...skipping...
● ananicy-cpp.service - Ananicy-Cpp - ANother Auto NICe daemon in C++
Loaded: loaded (/usr/lib/systemd/system/ananicy-cpp.service; enabled; preset: disabled)
Active: active (running) since Sat 2025-09-13 15:46:26 +08; 26s ago
Invocation: 46daba68c6bd4af6974489f7bc81c0eb
Main PID: 141062 (ananicy-cpp)
Tasks: 4 (limit: 17698)
Memory: 7.6M (high: 16M, max: 64M, available: 8.3M, peak: 7.8M)
CPU: 87ms
CGroup: /system.slice/ananicy-cpp.service
└─141062 /usr/bin/ananicy-cpp start
Sep 13 15:46:26 wisejackal-laptop ananicy-cpp[141062]: [2025-09-13 15:46:26.317] [info] Config apply_ionice: true
Sep 13 15:46:26 wisejackal-laptop ananicy-cpp[141062]: [2025-09-13 15:46:26.317] [info] Config cgroup_load: true
Sep 13 15:46:26 wisejackal-laptop ananicy-cpp[141062]: [2025-09-13 15:46:26.317] [info] Config apply_sched: true
Sep 13 15:46:26 wisejackal-laptop ananicy-cpp[141062]: [2025-09-13 15:46:26.317] [info] Config apply_nice: true
Sep 13 15:46:26 wisejackal-laptop ananicy-cpp[141062]: Ananicy Cpp
Sep 13 15:46:26 wisejackal-laptop ananicy-cpp[141062]: [2025-09-13 15:46:26.329] [info] Starting Ananicy
Sep 13 15:46:26 wisejackal-laptop ananicy-cpp[141062]: [2025-09-13 15:46:26.330] [info] Creating Cgroups...
Sep 13 15:46:26 wisejackal-laptop ananicy-cpp[141062]: [2025-09-13 15:46:26.331] [info] Finished creating Cgroups...
Sep 13 15:46:26 wisejackal-laptop ananicy-cpp[141062]: [2025-09-13 15:46:26.332] [info] Doing a full scan
Sep 13 15:46:26 wisejackal-laptop ananicy-cpp[141062]: [2025-09-13 15:46:26.342] [info] Worker initialized with 1383 rules
~
Where is the correct place to report this, or what are the further steps from here?
I opened this issue, but that’s kinda the wrong place: