Encountering this error on IncusOS w/ Incus 7.1, Debian 13.5 w/ Incus 7.0 & Debian 13.5 w/ Incus 7.1, all fresh installs on bare metal.
After install, all I do is
incus remote add docker https://docker.io --protocol=oci
incus launch docker:alpine:latest oci-test
and I get an error when I look at incus info oci-test –show-log like below
lxc oci-test 20260622053815.547 ERROR utils - ../src/lxc/utils.c:safe_mount:1332 - Invalid argument - Failed to mount “none” onto “/opt/incus/lib/lxc/rootfs/run”
It varies slightly in the referenced path path based on the install, but always the failed to mount none. I saw the github issue #4575 seems to reference a similar, maybe same problem?
Updating line 2480 of internal/server/instance/drivers/driver_lxc.go to be err := lxcSetConfigItem(cc, “lxc.mount.entry”, “tmpfs run tmpfs mode=755,optional”) and then building, overwriting, and restarting incus fixes the issue for me, but I admit I’m not sure why that fixes the issue and I don’t know much about tmpfs mounting. I’ve gotten this across 5 different installs now, and I trigger it with every single one of my OCI containers. I also see the cgroup duplication error that I’ve seen talked about before, which seems like a side effect. Is this a fixed error that just hasn’t made it’s way upstream, or something that still needs to be fixed?