~sdeziel/ubuntu/+source/lxd-installer:noble-sru

Last commit made on 2024-05-08
Get this branch:
git clone -b noble-sru https://git.launchpad.net/~sdeziel/ubuntu/+source/lxd-installer
Only Simon Déziel can upload to this branch. If you are Simon Déziel please log in for upload directions.

Branch merges

Branch information

Name:
noble-sru
Repository:
lp:~sdeziel/ubuntu/+source/lxd-installer

Recent commits

84a67dd... by Simon Déziel

d/changelog: update to version 4ubuntu0.1 (noble SRU for LP: #2061017)

Signed-off-by: Simon Deziel <email address hidden>

006ad7f... by Simon Déziel

d/tests/not-member-of-lxd-group: new test

Signed-off-by: Simon Deziel <email address hidden>
(cherry picked from commit f96473ba97a8571868c22b1a133c4d0b199fd588)

84c6a89... by Simon Déziel

scripts/lxc: give time to snapd to make command available

There seems to be a brief period of time between which the executable becomes
available and becomes usable. snapd is probably still not completely done
preparing the execution environment so the exec call sometimes.

Sleeping for 1s after the executable becomes available should paper over the
race and be short enough compared to the whole snap installation process to be
OK.

Signed-off-by: Simon Deziel <email address hidden>
(cherry picked from commit 159c6635eb6f17a7036e1dd3f9061bea065a9fc0)

8b6476d... by Simon Déziel

scripts/lxc: check if socket is writeable

/run/lxd-installer.socket is root:lxd and 0660 so if the invoking user is not a
member of the lxd group, the python3 call will fail with a `Permission denied`.

Closes LP: #2061017

Signed-off-by: Simon Deziel <email address hidden>
(cherry picked from commit bfac91b63caf39954854cbc87385d9e7ad967699)

f181ed1... by Simon Déziel

d/changelog: update to version 4

Signed-off-by: Simon Deziel <email address hidden>

6ab523d... by Simon Déziel

d/tests: add autopkgtest

Signed-off-by: Simon Deziel <email address hidden>

7f51183... by Simon Déziel

lxd-installer-service: use LXD 5.21 track (LTS) on Ubuntu 24.04

Signed-off-by: Simon Deziel <email address hidden>

e779f56... by Simon Déziel

lxd-installer-service: only use os-release's VERSION_ID and handle it being uninitialized

Signed-off-by: Simon Deziel <email address hidden>

6359417... by John Chittum

changelog

2db3427... by John Chittum

fix: Call VERSION_ID after source os-release