Support snaps inside of lxd containers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Undecided
|
Stéphane Graber | ||
apparmor (Ubuntu) |
Fix Released
|
Critical
|
Tyler Hicks | ||
Xenial |
Fix Released
|
Critical
|
Tyler Hicks | ||
Yakkety |
Fix Released
|
Critical
|
Tyler Hicks | ||
linux (Ubuntu) |
Fix Released
|
Critical
|
John Johansen | ||
Xenial |
Fix Released
|
Critical
|
John Johansen | ||
Yakkety |
Fix Released
|
Critical
|
John Johansen | ||
lxd (Ubuntu) |
Fix Released
|
Critical
|
Stéphane Graber | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Critical
|
Stéphane Graber |
Bug Description
I tried following the instructions on snapcraft.io and got a failure. See the output below. I've also attached the relevant output from running "journalctl -xe".
uname: Linux 3.19.0-65-generic x86_64
release: Ubuntu 16.04
package: snapd 2.11+0.16.04
Notably, I'm running this in an LXD container (version: 2.0.0.rc9).
-------
$ sudo snap install hello-world
64.75 MB / 64.75 MB [======
error: cannot perform the following tasks:
- Mount snap "ubuntu-core" (122) ([start snap-ubuntu\
)
$ ls -la /snap
total 4K
drwxr-xr-x 3 root root 4096 Aug 8 17:49 ubuntu-core
$ ls -la /snap/ubuntu-core/
total 4K
drwxr-xr-x 2 root root 4096 Aug 8 17:49 122
$ ls -la /snap/ubuntu-
total 0K
$ systemctl status "snap-ubuntu\
● snap-ubuntu\
Loaded: loaded (/etc/systemd/
Active: failed (Result: exit-code) since Mon 2016-08-08 17:49:36 UTC; 6min ago
Where: /snap/ubuntu-
What: /var/lib/
Process: 31781 ExecMount=
Aug 08 17:49:35 my-host systemd[1]: Mounting Mount unit for ubuntu-core...
Aug 08 17:49:35 my-host mount[31781]: mount: /snap/ubuntu-
Aug 08 17:49:36 my-host systemd[1]: snap-ubuntu\
Aug 08 17:49:36 my-host systemd[1]: Failed to mount Mount unit for ubuntu-core.
Aug 08 17:49:36 my-host systemd[1]: snap-ubuntu\
tags: | added: landscape |
summary: |
- could not install hello-world snap + could not install hello-world snap in lxd container |
Changed in apparmor (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Ubuntu Security Team (ubuntu-security) |
tags: | added: lxd |
Changed in lxd (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Critical |
status: | In Progress → Fix Committed |
Changed in lxd (Ubuntu): | |
assignee: | nobody → Stéphane Graber (stgraber) |
Changed in snappy: | |
status: | New → Fix Committed |
assignee: | nobody → Stéphane Graber (stgraber) |
tags: | added: nova-lxd |
Changed in linux (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → In Progress |
assignee: | nobody → John Johansen (jjohansen) |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in lxd (Ubuntu): | |
status: | Fix Committed → Fix Released |
no longer affects: | lxd |
Changed in linux (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → Critical |
assignee: | nobody → John Johansen (jjohansen) |
Changed in lxd (Ubuntu Xenial): | |
status: | New → Fix Committed |
tags: |
added: verification-failed-xenial removed: verification-needed-xenial |
Changed in lxd (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
I found this: https:/ /lists. ubuntu. com/archives/ snapcraft/ 2016-June/ 000128. html