Closed woky closed 6 years ago
Sorry for the late reply. I somehow missed the notification from Github regarding this issue.
If you just freshly installed lxd
from this repository or updated from <=lxd-3.0.0-0.1
to the latest version, you must logout and login again or run source /etc/profile
to get the correct socket path. This because the path is customized via LXD_SOCKET
environment variable to fit the Fedora SELinux container profile.
Thanks for the hint tough. I'll add a note to the setup instruction on the COPR page.
Could you try to remove the symlink and report back if it still works?
The symlink didn't work for me- I was able to manually start lxd.service
post-boot to get things working, but not lxd-containers.service
. Turns out the wrapper service needs the same environment override lxd.service
has for the socket location. #8 adds that.
PS @ganto thanks so much for maintaining lxd packaging for Fedora! I built/installed manually a couple times before finding your package- makes life so much easier...
Thanks a lot for the patch. I updated the .spec
file so this should be fixed now.
I also updated the instructions at COPR: ganto/lxc3 to hint about the new variable.
lxd-containers
service is looking for wrong socket:Workaround: