When booting `lineage-22.1-20250202-UNOFFICIAL-virtio_arm64only.img` on Debian 13 ARM `libvirt` at some point I face every 5 seconds:
``` init: starting service 'vendor.boot-default'... libprocessgroup: Failed to find NormalIoPriority process profile init: ... started service 'vendor.boot-default' has pid 178 init: Service 'vendor.boot-default' (pid 178) received signal 6 init: Sending signal 9 to service 'vendor.boot-default' (pid 178) process group... libprocessing: Removed cgroup /sys/fs/cgroup/uid_1000/pid_178 ```
How to solve this issue?
Aug 12, 11:35pm
The error you're encountering, particularly the line:
text
libprocessgroup: Failed to find NormalIoPriority process profile
is a known issue in Android-based systems (like LineageOS) running on non-Android kernels (e.g., a standard Linux kernel under libvirt). This happens because the Android-specific cgroup and process group configurations (like NormalIoPriority) are not available or compatible with the host kernel.
Root Cause
LineageOS (and Android in general) expects certain cgroup v1 features and process profiles (e.g., NormalIoPriority) to be present in the kernel.
Debian 13 (and most modern Linux distributions) use cgroup v2 by default, which does not support these legacy Android-specific profiles.
The libprocessgroup library (part of Android's init system) fails to find these profiles, causing the service to crash repeatedly.
Solutions
1. Force cgroup v1 on the Host (Recommended)
Since LineageOS expects cgroup v1, you can configure your Debian 13 host to use cgroup v1 for the VM.
Steps:
Edit the kernel command line for the VM in libvirt:
Open the VM's XML configuration:
bash
virsh edit <vm-name>
Add the following to the <kernel> or <cmdline> section: