[lxc-devel] Where to get apparmor profiles?

Stéphane Graber stgraber at ubuntu.com
Tue Jan 29 14:40:04 UTC 2013


On 01/29/2013 05:21 AM, Brent Tubbs wrote:
> Hi,
> 
> I've installed the current dev version from Github on a Precise host
> using ./autogen.sh;./configure;make;make install.  When I try to do a
> simple lxc-execute, I get this:
> 
> root at precise64:~# lxc-execute --name blah /bin/bash
> lxc-execute: Permission denied - failed to change apparmor profile to
> lxc-container-default
> lxc-execute: invalid sequence number 1. expected 4
> lxc-execute: failed to spawn 'blah'
> root at precise64:~# lxc-version
> lxc version: 0.9.0.alpha2
> 
> I seem to remember this working on 0.8.0rc2, though I don't think it's
> worked since then.  Have I installed incorrectly?  Is there an Ubuntu
> package I'm missing?
> 
> Thanks,
> Brent

Hi,

Those profiles are only in the Ubuntu package, so when installing from
git you're either expected to already have them on your system or to
write your own minimal lxc-container-default profile.

However, if all you want to do is use the latest development version on
Ubuntu, then you can use our daily builds which include the apparmor
profiles.
Those are triggered every time new commits land in the stagging branch
and are available for Ubuntu 12.04, 12.10 and 13.04:
https://launchpad.net/~ubuntu-lxc/+archive/daily


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130129/953400b3/attachment.pgp>


More information about the lxc-devel mailing list