[Bug 2104201] Re: LXD installer attempts to install when LXD snap is installed & disabled

Simon Déziel 2104201 at bugs.launchpad.net
Wed Mar 26 14:53:59 UTC 2025


@Wesley, I've got a PoC where it does early detection of the LXD snap.
I'm now wondering what kind of error you'd expect when the `lxd-
installer` meets a deactivated LXD snap?

```
root at c1:~# lxc ls
/usr/sbin/lxc: 50: exec: /snap/bin/lxd.lxc: not found
```

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lxd-installer in Ubuntu.
https://bugs.launchpad.net/bugs/2104201

Title:
  LXD installer attempts to install when LXD snap is installed &
  disabled

Status in lxd-installer package in Ubuntu:
  New

Bug description:
  Install and disable LXD in Ubuntu 24.04

  ```
  sudo snap install lxd
  sudo snap disable lxd
  ```

  Then run a command with lxc:

  ```
  $ lxc ls
  Installing LXD snap, please be patient.
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd-installer/+bug/2104201/+subscriptions




More information about the foundations-bugs mailing list