canonical / lxd

Powerful system container and virtual machine manager
https://canonical.com/lxd
GNU Affero General Public License v3.0
4.35k stars 930 forks source link

5.21.2-2f4ba6b: Error: mkdir /var/snap/lxd/common/lxd/shmounts: file exists #14244

Closed lengau closed 4 days ago

lengau commented 4 days ago

Required information

Issue description

When launching a container, the error in the title occurs.

$ lxc launch ubuntu:24.04 noble
Creating noble
Starting noble
Error: mkdir /var/snap/lxd/common/lxd/shmounts: file exists
Try `lxc info --show-log local:noble` for more info

Steps to reproduce

  1. Launch a new container

Information to attach

lengau commented 4 days ago

Never mind - this was resolved by restarting lxd. It probably has to do with the fact that I'd just enabled snap parallel instances.

tomponline commented 4 days ago

Yes sounds like https://github.com/canonical/lxd/issues/12168