[Bug 2061017] Re: lxd-installer: permission error not handled and lxd snap not installed

Launchpad Bug Tracker 2061017 at bugs.launchpad.net
Thu May 2 03:44:41 UTC 2024


This bug was fixed in the package lxd-installer - 5

---------------
lxd-installer (5) oracular; urgency=medium

  * scripts/lxc: check if socket is writeable (LP: #2061017)
  * scripts/lxc: give time to snapd to make command available
  * d/tests/control: remove workaround for LP: #2046379
  * d/tests/not-member-of-lxd-group: new test
  * lxd-installer-service: fallback to pulling LXD from default channel
    (LP: #2061910)
  * d/tests/install-on-demand: update fallback case

 -- Simon Deziel <simon.deziel at canonical.com>  Tue, 16 Apr 2024 17:46:08
-0400

** Changed in: lxd-installer (Ubuntu)
       Status: Incomplete => Fix Released

-- 
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/2061017

Title:
  lxd-installer: permission error not handled and lxd snap not installed

Status in lxd-installer package in Ubuntu:
  Fix Released

Bug description:
  On a fresh install of 24.04 server on Raspberry Pi, I ran 'lxc list'
  without having the lxd snap installed already. There was an attempt to
  install the snap, but it failed, and the snap needed to be manually
  installed:

  nr at pi5:~$ lxc list
  Installing LXD snap, please be patient.
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
  PermissionError: [Errno 13] Permission denied
  /usr/sbin/lxc: 12: exec: /snap/bin/lxc: not found

  More details:

  nr at pi5:~$ cat /etc/os-release 
  PRETTY_NAME="Ubuntu Noble Numbat (development branch)"
  NAME="Ubuntu"
  VERSION_ID="24.04"
  VERSION="24.04 LTS (Noble Numbat)"
  VERSION_CODENAME=noble
  ID=ubuntu
  ID_LIKE=debian
  HOME_URL="https://www.ubuntu.com/"
  SUPPORT_URL="https://help.ubuntu.com/"
  BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
  PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
  UBUNTU_CODENAME=noble
  LOGO=ubuntu-logo
  nr at pi5:~$ apt policy lxd-installer
  lxd-installer:
    Installed: 4
    Candidate: 4
    Version table:
   *** 4 500
          500 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 Packages
          100 /var/lib/dpkg/status

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




More information about the foundations-bugs mailing list