LXD - /var/lib/lxd/unix.socket: connect: no such file or directory

I'm using LXD which is downloaded through pacman. lxd init would fail with

Error: Failed to connect to local LXD: Get "http://unix.socket/1.0": dial unix /var/lib/lxd/unix.socket: connect: no such file or directory

The package seems identical to snap, and since I don't want to bloat my system for the time being, I'd prefer to use pacman packages. checking /var/lib/lxd, seems like unix.socket is missing too.

appreciate if there's an idea how to deal with this, else I'll try snap version

resolved using workaround reported in Ubuntu Bug #1577001

Workaround used: sudo systemctl restart lxd.socket unsure if it's the same reason, probably is. I used non-snap version of lxd anyway

1 Like

Please mark your second post as the solution so moderator can close the thread.

Thank you for reporting.

Forum kindly sponsored by