Verification for Plucky
=======================

multipass launch noble --name test -d 10Gtest$ sudo apt install -y 
linux-image-6.14.0-33-generic
test$ sudo reboot

test$ snap install --channel=5.21/stable lxd
test$ sudo lxd init --auto

test$ lxc launch ubuntu:j j0 -c security.nesting=true
test$ lxc shell j0


Reproduce with snapd deb < 2.73
-------------------------------

(update to snapd 2.73 to fix initialization issue and revert to 2.72)

j0$ sudo snap remove --purge lxd
j0$ sudo snap install --channel=5.21/stable lxd


root@j0:~# sudo snap install --channel=5.21/stable lxd
error: cannot perform the following tasks:
- Start snap "lxd" (36971) services (systemctl command [start 
snap.lxd.activate.service] failed with exit status 1: stderr:
Job for snap.lxd.activate.service failed because the control process exited 
with error code.
See "systemctl status snap.lxd.activate.service" and "journalctl -xeu 
snap.lxd.activate.service" for details.)

Prove fixed with snapd deb 2.73
-------------------------------

j0$  sudo apt install snapd=2.73+ubuntu22.04

sudo snap install --channel=5.21/stable lxd
lxd (5.21/stable) 5.21.4-9eb1368 from Canonical✓ installed
root@j0:~# snap changes
ID   Status  Spawn                      Ready               Summary
1    Error   21 days ago, at 10:51 UTC  today at 07:30 UTC  Initialize system 
state
2    Done    today at 07:30 UTC         today at 07:30 UTC  Initialize device
3    Done    today at 07:32 UTC         today at 07:32 UTC  Initialize system 
state
4    Done    today at 07:35 UTC         today at 07:35 UTC  Remove "lxd" snap
5    Error   today at 07:35 UTC         today at 07:36 UTC  Install "lxd" snap 
from "5.21/stable" channel
6    Done    today at 07:38 UTC         today at 07:39 UTC  Install "lxd" snap 
from "5.21/stable" channel  

Change 6 shows the successfull installation.

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

Title:
  Nested LXD is broken with snapd 2.71+ubuntu22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/2127244/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to