[lxc-devel] Create LXC 0.8.0 rpm on/for Centos

Serge Hallyn serge.hallyn at ubuntu.com
Thu Mar 7 14:22:27 UTC 2013


Quoting Leon Waldman (le.waldman at gmail.com):
> 
> On 03/07/2013 05:29 AM, Igor Mitsyanko wrote:
> >
> >
> > On 03/07/2013 03:33 AM, Leon Waldman wrote:
> >> Hi,
> >>
> >>
> >> I'm trying to build the rpm using the included spec file, but the
> >> compile is failing with a "You must install the AppArmor development
> >> package in order to compile lxc".
> >>
> >> I'm building it in/for CentOS and (AFAIK) there is no AppArmor
> >> development package for it.
> >>
> >> Is there any way to build the RPM from the source tarball without it? If
> >> not, is there any alternative?
> >>
> >>
> >> Thanks in advance.
> >>
> > Maybe I'm missing something, but couldn't you just pass
> > "--disable-apparmor" to configure script?
> 
> Just asking mate... just asking!

Igor's reply wasn't at all offended or incindiary...

> Now, any tip for this one:
> "Read-only file system - error unlinking /usr/lib64/lxc/rootfs/dev/kmsg"

Your container's /dev is readonly?  That could become a problem.  The
actual failure to set up /dev/kmsg isn't going to stop the container
from starting, but /dev being readonly could.

-serge




More information about the lxc-devel mailing list