I notice container upgrade from 14.04 to 16.04 do not have /lib/modules
directory. It caused snap install error when /lib/modules do not exist
in the container.
- Run configure hook of "core" snap if present (run hook "configure":
cannot perform operation: mount --rbind /lib/modules
/tmp/snap.root
Latest snap-confine seem break the lxd snap function. It used to work
until recent update.
snap-confine 2.22.6
lxd
2.12-0ubuntu3~ubuntu16.04.1~ppa1
linux-image-4.4.0-72-generic 4.4.
The latest version of xenial kernel, apparmor , lxd are now have the
fixes to run snap in lxd container. If it fail, please try to install
squashfuse or disable privileged mode.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubun
Testing on Xenial with 4.8 Ubuntu kernel.
In container,
ubuntu@test:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 16.04.1 LTS
Release:16.04
Codename: xenial
ubuntu@test:~$ dpkg -l | grep -i 'apparmor\|snap\|squash'
ii apparmor
I tested using latest xenial proposed kernel with latest apparmor utils.
The problem still there.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lx
NVM, I will download and compile the kernel and test it this week. Let
see how it go.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
The fix only for Yakkety? I still have the same error on Xenial with
proposed enabled.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd container
7 matches
Mail list logo