<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Serge,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">> <span style="font-family:arial,sans-serif;font-size:13px">grab the debian/ tree from the </span><span style="font-family:arial,sans-serif;font-size:13px">lxc package </span></div>
<div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:13px">I got it here (thanks to Fajar):</span></div>
<div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:13px"> </span><a href="http://archive.ubuntu.com/ubuntu/pool/main/l/lxc/lxc_1.0.3-0ubuntu3.debian.tar.gz" style="font-family:arial,sans-serif;font-size:13px" target="_blank">http://archive.ubuntu.com/ubuntu/pool/main/l/lxc/lxc_1.0.3-0ubuntu3.debian.tar.gz</a><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:13px">> and copy it under the git tree, then run </span><span style="font-family:arial,sans-serif;font-size:13px">debian/rules build</span></div>
<div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:13px">$ git clone <a href="https://github.com/lxc/lxc.git">https://github.com/lxc/lxc.git</a></span></div><div class="gmail_default" style>
<span style="font-size:13px;font-family:arial,sans-serif">$ cd lxc ; tar xvzf ../Downloads/</span><font face="arial, sans-serif">lxc_1.0.3-0ubuntu3.debian.tar.gz</font></div><div class="gmail_default"><div class="gmail_default" style="font-size:small">
$ sudo apt-get install debhelper, <span style="color:rgb(51,51,51);font-family:monospace;font-size:12px;line-height:18px">dh-autoreconf</span></div>
<div style="font-size:small">$ debian/rules build > build.log 2>&1</div><div style><span style="font-size:small">$ </span>phiho@lxc103:~/lxc$ tail build.log</div><div>#define _ALL_SOURCE 1</div><div>#define _GNU_SOURCE 1</div>
<div>#define _POSIX_PTHREAD_SEMANTICS 1</div><div>#define _TANDEM_SOURCE 1</div><div><br></div><div>configure: exit 1</div><div>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</div>
<div>make[1]: *** [override_dh_auto_configure] Error 255</div><div>make[1]: Leaving directory `/home/phiho/lxc'</div><div>make: *** [build] Error 2</div><div><br></div><div>Please find attached 'config.log' and 'build.log'</div>
<div style="font-size:small"><br></div><div style="font-size:small"><div><font face="arial, sans-serif">Best regards,</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">PhiHo</font></div><div><font face="arial, sans-serif"><br></font></div></div><div style="font-size:small"><div class="gmail_default">
<br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 27, 2014 at 9:40 AM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">Quoting Phiho Hoang (<a href="mailto:hohoangphi@gmail.com">hohoangphi@gmail.com</a>):<br>
> Dear List,<br>
><br>
> I got this problem with lxc built from git source code, cloned May 25.<br>
<br>
</div>You give no indication of how you buit and installed it. The easiest<br>
way to build from git reliably is to grab the debian/ tree from the<br>
lxc package and copy it under the git tree, then run<br>
debian/rules build<br>
fakeroot debian/rules binary<br>
<br>
and install the resulting binaries.<br>
<br>
might try 'ps -ef' on the host and see if the only things running in<br>
the container are 3 or 4 tasks including mountall. That would suggest<br>
there is a filesystem which isn't being pre-mounted for the container,<br>
which mountall then tries to mount (and is denied).<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote></div><br></div>