Fedora 41 has incus in the official repos now. So i wanted to try it out. I setup a fresh fedora 41 server with btrfs and installed incus directly from dnf.
As for workarounds, you can pretty trivially add the Environment=INCUS_SOCKET=/run/incus/unix.socket to your own systemd unit, either directly or as an override through systemctl edit.
Incus on Fedora 41 still seems to be quite neglected. The repositories still has Incus on 6.2 [1] and the socket environment variable hasn’t been touched for a few months [2].
I know this isn’t my place, and my relatively newness on the forums, but I wonder if it’s best to de-list the Incus instructions given that it’s broken out of the box, although easily fixable, and seemingly unmaintained.
I added a co-maintainer to help out recently, but I’ve been struggling to get incus to be updated and working because of all the weird path problems with the incus socket.
BTW this fix works but only when using the root user. When setting up projects for individual users it fails with an error Error: The incus daemon doesn't appear to be started (socket path: /var/lib/incus/unix.socket).
So there’s a bit more to do then just change the systemd service file to get it to fully work.