[lxc-users] LXC 1.0.0 - lxc-start: command get_cgroup failed to receive response

Phiho Hoang hohoangphi at gmail.com
Tue May 27 23:10:46 UTC 2014


Hi Serge,

> 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
$ 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
dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr
--includedir=${prefix}/include --mandir=${prefix}/share/man
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--libdir=${prefix}/lib/x86_64-linux-gnu
--libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode
--disable-dependency-tracking --libdir=${prefix}/lib/x86_64-linux-gnu
--libexecdir=${prefix}/lib/x86_64-linux-gnu
--with-rootfs-path=${prefix}/lib/x86_64-linux-gnu/lxc --enable-python
CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security CPPFLAGS=-D_FORTIFY_SOURCE=2 CXXFLAGS=-g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security FFLAGS=-g -O2 -fstack-protector
--param=ssp-buffer-size=4 GCJFLAGS=-g -O2 -fstack-protector
--param=ssp-buffer-size=4 LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro
--enable-doc --disable-rpath --enable-apparmor --enable-selinux
--disable-lua --enable-tests --enable-cgmanager --with-distro=ubuntu
returned exit code 1
make[1]: *** [override_dh_auto_configure] Error 255
make[1]: Leaving directory `/home/phiho/lxc'
make: *** [build] Error 2

Please find attached 'config.log' and 'build.log'

Best regards,

PhiHo




On Tue, May 27, 2014 at 9:40 AM, Serge Hallyn <serge.hallyn at ubuntu.com>wrote:

> Quoting Phiho Hoang (hohoangphi at gmail.com):
> > Dear List,
> >
> > I got this problem with lxc built from git source code, cloned May 25.
>
> You give no indication of how you buit and installed it.  The easiest
> way to build from git reliably is to grab the debian/ tree from the
> lxc package and copy it under the git tree, then run
> debian/rules build
> fakeroot debian/rules binary
>
> and install the resulting binaries.
>
> might try 'ps -ef' on the host and see if the only things running in
> the container are 3 or 4 tasks including mountall.  That would suggest
> there is a filesystem which isn't being pre-mounted for the container,
> which mountall then tries to mount (and is denied).
> _______________________________________________
> 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/285a090d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 31758 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140527/285a090d/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 27581 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140527/285a090d/attachment-0003.obj>


More information about the lxc-users mailing list