`snap run lxd.activate` in a disco lxd container fails after reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
New
|
Undecided
|
Unassigned | ||
snapd |
New
|
Undecided
|
Zygmunt Krynicki |
Bug Description
In cloud-init integration testing, we are seeing failures to start the snap.lxd.
```
# snap run lxd.activate
cannot change profile for the next exec call: No such file or directory
snap-update-ns failed with code 1: No such file or directory
```
A minimal reproducer (from comment #2):
```
lxc launch ubuntu-daily:d reproducer
lxc exec reproducer -- cloud-init status --wait
lxc exec reproducer -- snap run lxd.activate # this should succeed
lxc exec reproducer -- reboot
lxc exec reproducer -- cloud-init status --wait
lxc exec reproducer -- snap run lxd.activate # this should fail
```
affects: | snappy → snapd |
Changed in snapd: | |
assignee: | nobody → Zygmunt Krynicki (zyga) |
http:// paste.ubuntu. com/p/P8sdxBSF4 P/ is the output of `strace snap run lxd.activate`.