[lxc-users] LXC 1.0.0 - lxc-start: command get_cgroup failed to receive response
Phiho Hoang
hohoangphi at gmail.com
Wed May 28 02:41:11 UTC 2014
Hi Fajar,
> do a "apt-get build-dep lxc"
This works, thanks.
$ sudo lxc-ls
p1
$ sudo lxc-start -n p1 -d
$ sudo lxc-info -n p1
Name: p1
State: RUNNING
PID: 61276
IP: 10.0.3.170
CPU use: 1.02 seconds
BlkIO use: 488.00 KiB
Memory use: 7.47 MiB
Link: vethRX599V
TX bytes: 2.07 KiB
RX bytes: 2.04 KiB
Total bytes: 4.11 KiB
Would you please consider to update the README and INSTALL files on github
with the valuable information on how to build LXC packages instead of the
simple:
'./autogen.sh && ./configure && make && sudo make install'
Again, your help is much appreciated.
Best regards,
PhiHo
On Tue, May 27, 2014 at 8:54 PM, Fajar A. Nugraha <list at fajar.net> wrote:
> On Wed, May 28, 2014 at 7:41 AM, Phiho Hoang <hohoangphi at gmail.com> wrote:
> > Hi Serge,
> >
> > (This is a resend with a zip attached to reduce the size of this posting)
> >
> >> grab the debian/ tree from the lxc package
> >
> > I got it here (thanks to Fajar):
> >
> >
> >
> http://archive.ubuntu.com/ubuntu/pool/main/l/lxc/lxc_1.0.3-0ubuntu3.debian.tar.gz
> >
> >> and copy it under the git tree, then run debian/rules build
> > $ git clone https://github.com/lxc/lxc.git
> > $ cd lxc ; tar xvzf ../Downloads/lxc_1.0.3-0ubuntu3.debian.tar.gz
> > $ sudo apt-get install debhelper, dh-autoreconf
>
> Did you also install other dependencies? debian/control should list
> what's needed to build. Or do a "apt-get build-dep lxc"
>
> > $ debian/rules build > build.log 2>&1
> > $ phiho at lxc103:~/lxc$ tail build.log
> > #define _ALL_SOURCE 1
> > #define _GNU_SOURCE 1
> > #define _POSIX_PTHREAD_SEMANTICS 1
> > #define _TANDEM_SOURCE 1
> >
> > configure: exit 1
>
> > Please find attached 'config.log' and 'build.log' in a zip file
> > 7PM-May27.zip
>
> Did you actually read the configure output?
>
> configure:5423: checking sys/apparmor.h presence
> configure:5423: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
> conftest.c:26:26: fatal error: sys/apparmor.h: No such file or directory
> #include <sys/apparmor.h>
>
>
> Lookup who has that file:
>
> http://packages.ubuntu.com/search?mode=exactfilename&suite=trusty§ion=all&arch=any&keywords=sys%2Fapparmor.h&searchon=contents
>
> --
> Fajar
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140527/af5ff935/attachment.html>
More information about the lxc-users
mailing list