Sounds like it might be LP:1709536
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
To manage notifications about this bug go to:
https://bugs.lau
I am still unable to run snaps inside lxd containers. I've just tested
on an Ubuntu 16.04.3 LTS host:
$ uname -a
Linux hp 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux
$ lxc version
2.0.10
$ lxc launch ubuntu:16.04 test
Creating test
Startin
** Changed in: lxd (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
To manage notific
No, the solution is that snapd shouldn't assume that /lib/modules exist
and just not attempt to bind-mount it if it's missing.
Systems that don't have kernels installed (like containers) shouldn't
have /lib/modules at all.
--
You received this bug notification because you are a member of Ubuntu
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.
And in some cases squashfuse may not have the proper dep of fuse. And
you may need to manually:
apt install fuse # in addition to squashfuse
looks like squashfuse is missing a dependency on "fuse"
which is part of the official Ubuntu images but not in the community
images
so if you use "lxc l
Is there a regression here? Launching a Yakkety 16.10 LXD container
fails to install the core snap, fusermount cannot do its magic:
root@e:~# snap install core
error: cannot perform the following tasks:
- Mount snap "core" (1577) ([start snap-core-1577.mount] failed with exit
status 1: Job for sn
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://b
I can confirm this works on xenial after installing squashfuse.
root@clean-lark:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 16.04.1 LTS
Release:16.04
Codename: xenial
root@clean-lark:~# uname -a
Linux clean-lark 4.4.0-63-generic #84-U
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
> Did you install squashfuse in your container?
Thanks, that was the missing link. Works after installing squashfuse.
For anyone else wondering, instructions are in the description of
lp:1630789.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
Did you install squashfuse in your container?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
To manage notifications about this bug go to:
https
Is this supposed to work on Yakkety now? I've just tried, and it fails
in the same way for me. I'm using:
lxd2.6.2-0ubuntu1~ubuntu16.10.1~ppa1
lxd-client 2.6.2-0ubuntu1~ubuntu16.10.1~ppa1
apparmor 2.10.95-4ubuntu5.1
snapd 2.17.1+16.10
Linux 4.8.0-28-generic x86_64
--
You
Xenial's apparmor was fixed with package version 2.10.95-0ubuntu2.5
** Changed in: apparmor (Ubuntu Xenial)
Importance: Undecided => Critical
** Changed in: apparmor (Ubuntu Xenial)
Status: Confirmed => Fix Released
** Changed in: apparmor (Ubuntu Xenial)
Assignee: (unassigned) =>
This bug was fixed in the package linux - 4.4.0-47.68
---
linux (4.4.0-47.68) xenial; urgency=low
[ Kamal Mostafa ]
* Release Tracking Bug
- LP: #1636941
* Add a driver for Amazon Elastic Network Adapters (ENA) (LP: #1635721)
- lib/bitmap.c: conversion routines to/from
This bug was fixed in the package linux - 4.4.0-47.68
---
linux (4.4.0-47.68) xenial; urgency=low
[ Kamal Mostafa ]
* Release Tracking Bug
- LP: #1636941
* Add a driver for Amazon Elastic Network Adapters (ENA) (LP: #1635721)
- lib/bitmap.c: conversion routines to/from
note: that for xenial there are several pieces that must land as
different SRUs. Just using the xenial SRU kernel is not sufficient.
There is an apparmor userspace SRU that is required, and squashfuse sru
...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Based on feedback from @jjohansen there will be follow-up patches to fix
the problems, but the patches already applied should be kept and do not
need to be reverted.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpa
** Tags removed: verification-needed-xenial
** Tags added: verification-failed-xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
To manage n
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: apparmor (Ubuntu Xenial)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Tit
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
To manage n
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
To manage
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
xenial' to 'verification-done-xenial'.
If verification is not done by 5 working days from t
** Also affects: apparmor (Ubuntu Yakkety)
Importance: Critical
Assignee: Tyler Hicks (tyhicks)
Status: Fix Released
** Also affects: linux (Ubuntu Yakkety)
Importance: Critical
Assignee: John Johansen (jjohansen)
Status: Fix Released
** Also affects: lxd (Ubuntu Yak
** Changed in: lxd (Ubuntu Xenial)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
To manage notifications ab
** Changed in: linux (Ubuntu Xenial)
Importance: Undecided => Critical
** Changed in: linux (Ubuntu Xenial)
Assignee: (unassigned) => John Johansen (jjohansen)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launc
** Changed in: linux (Ubuntu Xenial)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
To manage notifications
** Also affects: apparmor (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: lxd (Ubuntu Xenial)
Importance: Undecided
Status: New
--
You received this bug notification because
Marking this bug fix released as all the bits we wanted done here have
been done.
We still have a separate bug open for the dependency on squashfuse and
its SRU to xenial.
** Changed in: snappy
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a
This bug was fixed in the package linux - 4.8.0-19.21
---
linux (4.8.0-19.21) yakkety; urgency=low
[ Tim Gardner ]
* Release Tracking Bug
- LP: #1629057
* 4.8.0 kernels do not complete boot process on VM (LP: #1627198)
- [Config] CONFIG_HARDENED_USERCOPY_PAGESPAN=n
** Changed in: lxd (Ubuntu)
Status: Fix Committed => Fix Released
** No longer affects: lxd
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd container
apparmor 2.10.95-4ubuntu5 has landed in Yakkety.
** Changed in: apparmor (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support s
John has gotten all of the AppArmor kernel changes merged into the
Yakkety kernel and my apparmor userspace upload is making its way
through the autopkgtests.
** Changed in: apparmor (Ubuntu)
Status: In Progress => Fix Committed
** Changed in: apparmor (Ubuntu)
Assignee: Ubuntu Securi
Thanks guys, can't wait to see this in action :)
Mark
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
To manage notifications about this bug go
** Changed in: linux (Ubuntu)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
To manage notifications
** Also affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Changed in: linux (Ubuntu)
Importance: Undecided => Critical
** Changed in: linux (Ubuntu)
Status: New => In Progress
** Changed in: linux (Ubuntu)
Assignee: (unassigned) => John Johansen (jjohansen)
-
** Tags added: nova-lxd
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside of lxd containers
To manage notifications about this bug go to:
https://bugs.launchpad.net/
** Bug watch added: LXD bug tracker #1942
https://github.com/lxc/lxd/issues/1942
** Also affects: lxd via
https://github.com/lxc/lxd/issues/1942
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
** Changed in: lxd (Ubuntu)
Assignee: (unassigned) => Stéphane Graber (stgraber)
** Changed in: snappy
Status: New => Fix Committed
** Changed in: snappy
Assignee: (unassigned) => Stéphane Graber (stgraber)
--
You received this bug notification because you are a member of Ubunt
We can't merge it before then as there's currently no way for us to
detect a broken kernel vs a good kernel, so merging this work would
effectively break all LXD users on a kernel that pretends to support
namespacing and stacking, such as the 16.04 release kernel.
--
You received this bug notific
** Changed in: lxd (Ubuntu)
Status: New => In Progress
** Changed in: lxd (Ubuntu)
Importance: Undecided => Critical
** Changed in: lxd (Ubuntu)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscrib
Yeah, LXD will need updating but we're already tracking this work and
actually have it all ready to merge as soon as your team delivers a
working kernel.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1
I believe that LXD changes will be needed, as well. I'll let Stéphane
set the status and importance as he sees fit.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611078
Title:
Support snaps inside
Ubuntu Security is working on AppArmor changes to allow, among other
things, snap-confine to load AppArmor profiles inside of LXD containers.
** Summary changed:
- could not install hello-world snap in lxd container
+ Support snaps inside of lxd containers
** Changed in: apparmor (Ubuntu)
46 matches
Mail list logo