~sdeziel/ubuntu/+source/lxd-installer:group-membership-lp2061017

Last commit made on 2024-04-18
Get this branch:
git clone -b group-membership-lp2061017 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:
group-membership-lp2061017
Repository:
lp:~sdeziel/ubuntu/+source/lxd-installer

Recent commits

04fe8bc... by Simon Déziel

d/changelog: update to version 5

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

19823ab... by Simon Déziel

d/tests/install-on-demand: update fallback case

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

8f35fd0... by Simon Déziel

lxd-installer-service: fallback to pulling LXD from default channel

Closes LP: #2061910

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

f96473b... by Simon Déziel

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

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

fa96ad2... by Simon Déziel

d/tests/control: remove workaround for LP: #2046379

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

159c663... 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>

bfac91b... 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>

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>