Re: [lxc-devel] [PATCH v2] add lua binding for the lxc API

2013-01-29 Thread Dwight Engen
Hi Natanael, thanks for the review! On Tue, 29 Jan 2013 09:46:29 +0100 Natanael Copa wrote: [...] > > --- /dev/null > > +++ b/src/lua-lxc/Makefile.am > > @@ -0,0 +1,26 @@ > > +if ENABLE_LUA > > + > > +luadir=$(datadir)/lua/5.1 > > +sodir=$(libdir)/lua/5.1/lxc > > maybe use something like: > >

Re: [lxc-devel] Where to get apparmor profiles?

2013-01-29 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > 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: > > > > ro

Re: [lxc-devel] Where to get apparmor profiles?

2013-01-29 Thread Stéphane Graber
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@precise64:~# lxc-execute --name blah /bin/bash > lxc-execute

Re: [lxc-devel] Where to get apparmor profiles?

2013-01-29 Thread Brent Tubbs
FYI: I've done this: apt-get install apparmor-profiles And still see the problem. From: Brent Tubbs mailto:brent.tu...@yougov.com>> Date: Tue, 29 Jan 2013 10:21:48 + To: Lxc development list mailto:lxc-devel@lists.sourceforge.net>> Subject: Where to get apparmor profiles? Hi, I've install

[lxc-devel] Where to get apparmor profiles?

2013-01-29 Thread Brent Tubbs
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@precise64:~# lxc-execute --name blah /bin/bash lxc-execute: Permission denied - failed to change apparmor profile t

Re: [lxc-devel] [PATCH v2] add lua binding for the lxc API

2013-01-29 Thread Natanael Copa
On Tue, 29 Jan 2013 09:46:29 +0100 Natanael Copa wrote: > > I think that we should use 'pkg-config --exists' instead of testing for given > distros. > > Something like: > if pkg-config --exists lua5.1; then > LUAPKGCONFIG=lua5.1 > else > LUAPKGCONFIG=lua > fi > > In case there might be

Re: [lxc-devel] [PATCH v2] add lua binding for the lxc API

2013-01-29 Thread Natanael Copa
Thanks you very much for working on those bindings! I think the code is good enough for inclusion in git, even if I have some comments. On Thu, 24 Jan 2013 11:42:22 -0500 Dwight Engen wrote: > +# Lua module and scripts > +if test x"$with_distro" = "xdebian" -o x"$with_distro" = "xubuntu" ; the