I’m having some trouble starting my incus containers on Fedora 42. It seems that a recent update may have caused some trouble.
Checking the log for the container (and enabling trace logging) shows the following error:
lxc gaming 20250926063301.420 DEBUG utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxcfs/lxc.mount.hook produced output: mount: /usr/lib64/lxc/rootfs/proc/cpuinfo: bind /var/lib/lxcfs/proc/cpuinfo failed.
dmesg(1) may have more information after failed mount system call.
lxc gaming 20250926063301.420 ERROR utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 32
No configuration changes were made on my end prior to the incus container failing to start; there was an update and the container did not start on the second boot.
I did notice that SELinux was denying lxcfs’s ptraces; I disabled the deny_ptrace rule, but it also hasn’t changed anything. The error remains the same.
Figured the problem out. It turns out that incus/lxc does not automatically react to an SELinux policy change. I disabled deny_ptrace, but did not restart incus/lxcfs systemd services.