Verification for Questing
=========================

multipass launch questing --name test -d 10G

(linux-image-6.14.0-33-generic, or any other HWE kernel is not available
non LTS releases)

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

root@j0:~# snap version
snap          2.72+ubuntu22.04
snapd         2.72+ubuntu22.04
series        16
ubuntu        22.04
kernel        6.17.0-8-generic
architecture  amd64

j0$ sudo snap remove --purge lxd

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

root@j0:~# snap version
snap          2.73+ubuntu22.04
snapd         2.73+ubuntu22.04
series        16
ubuntu        22.04
kernel        6.17.0-8-generic
architecture  amd64

snap install --channel=5.21/stable lxd
lxd (5.21/stable) 5.21.4-9eb1368 from Canonical✓ installed

snap changes
ID   Status  Spawn                      Ready               Summary
1    Error   21 days ago, at 10:51 UTC  today at 08:02 UTC  Initialize system 
state
2    Done    today at 08:02 UTC         today at 08:02 UTC  Initialize device
3    Error   today at 08:07 UTC         today at 08:08 UTC  Initialize system 
state
4    Error   today at 08:08 UTC         today at 08:08 UTC  Initialize system 
state
5    Error   today at 08:08 UTC         today at 08:08 UTC  Initialize system 
state
6    Error   today at 08:08 UTC         today at 08:08 UTC  Initialize system 
state
7    Done    today at 08:08 UTC         today at 08:09 UTC  Initialize system 
state
8    Done    today at 08:10 UTC         today at 08:11 UTC  Remove "lxd" snap
9    Done    today at 08:11 UTC         today at 08:12 UTC  Install "lxd" snap 
from "5.21/stable" channel
10   Done    today at 08:17 UTC         today at 08:17 UTC  Remove "lxd" snap
11   Error   today at 08:18 UTC         today at 08:18 UTC  Install "lxd" snap 
from "5.21/stable" channel
12   Done    today at 08:21 UTC         today at 08:21 UTC  Install "lxd" snap 
from "5.21/stable" channel

Change 12 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