Hey,
I recently ran into the following error on one of my Systems, while starting a virtual machine:
"Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/dm-6' failed with exit code 1."
Failed to run: forklimits limit=memlock:unlimited:unlimited -- /snap/lxd/23991/bin/qemu-system-x86_64 -S -name lxc675d97aa -uuid 23249d3e-222f-400d-9bcc-cbd19138896c -daemonize -cpu host,hv_passthrough -nographic -serial chardev:console -nodefaults -no-user-config -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=deny,resourcecontrol=deny -readconfig /var/snap/lxd/common/lxd/logs/lxc675d97aa/qemu.conf -spice unix=on,disable-ticketing=on,addr=/var/snap/lxd/common/lxd/logs/lxc675d97aa/qemu.spice -pidfile /var/snap/lxd/common/lxd/logs/lxc675d97aa/qemu.pid -D /var/snap/lxd/common/lxd/logs/lxc675d97aa/qemu.log -smbios type=2,manufacturer=Canonical Ltd.,product=LXD -runas lxd: : Process exited with non-zero value -1
Ubuntu 22.04 with LXD 4.0.9 LTS, up to date.
I could not find this bug so far on other machines, despite running Ubuntu 22.04 with LXD 4 LTS.
Containers are not affected, running virtual-machines where also not affected.
I googled a bit and found someone else reporting it over 6 months ago:
Its marked as high but still not solved.
The 2 workarounds that where suggested, seem to not work at all.
I also checked dmesg for anything that could indicate where the root issue is, nothing as far as I can tell.
Anybody has a suggestion on this? Thanks.