snaps fail to install on juju1 deployed lxc container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Expired
|
Undecided
|
Unassigned |
Bug Description
When trying to install snaps on a juju1 deployed Xenial lxc container, they fail with a mount error of -1. I'm not sure if this is similar to LP#1611078, but it refers to LXD explicitly, and this is using LXC.
$ sudo snap install hello
error: cannot perform the following tasks:
- Mount snap "core" (2381) ([start snap-core-
)
$ systemctl status snap-core-
● snap-core-
Loaded: loaded (/etc/systemd/
Active: failed (Result: exit-code) since Mon 2017-07-24 05:41:15 UTC; 3min 20s ago
Where: /snap/core/2381
What: /var/lib/
Process: 17327 ExecMount=
Jul 24 05:41:15 juju-machine-
Jul 24 05:41:15 juju-machine-
Jul 24 05:41:15 juju-machine-
Jul 24 05:41:15 juju-machine-
Jul 24 05:41:15 juju-machine-
And the logs in /var/log/syslog show:
Jul 24 05:41:03 juju-machine-
Jul 24 05:41:03 juju-machine-
Jul 24 05:41:04 juju-machine-
Jul 24 05:41:04 juju-machine-
Jul 24 05:41:13 juju-machine-
Jul 24 05:41:14 juju-machine-
Jul 24 05:41:15 juju-machine-
Jul 24 05:41:15 juju-machine-
Jul 24 05:41:15 juju-machine-
Please let us know if you need any further information.
Software inside LXC:
$ dpkg-query -W snapd
snapd 2.25
$ uname -a
Linux juju-machine-
$ lsb_release -d
Description: Ubuntu 16.04.2 LTS
Software on metal for LXC:
$ uname -a
Linux sunkern 4.10.0-27-generic #30~16.04.2-Ubuntu SMP Thu Jun 29 16:07:46 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -d
Description: Ubuntu 16.04.2 LTS
$ dpkg-query -W lxc
lxc 2.0.8-0ubuntu1~
Software for juju:
$ lsb_release -d
Description: Ubuntu 14.04.5 LTS
$ juju --version
1.25.11-
$ uname -a
Linux dile 3.13.0-86-generic #130-Ubuntu SMP Mon Apr 18 18:27:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
affects: | snappy → snapd |
Changed in snapd: | |
status: | New → Incomplete |
probably a duplicate of bug 1628289 ... does installing snapfuse fix it ?