<div dir="ltr"><div class="gmail_default" style="font-size:small"><div class="gmail_default" style="font-family:arial,sans-serif">Hi Serge,</div><div class="im" style="font-family:arial,sans-serif;font-size:13px"><div class="gmail_default" style="font-size:small">
<br></div><div class="gmail_default" style="font-size:small">(This is a resend with a zip attached to reduce the size of this posting)</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">
> <span style="font-size:13px">grab the debian/ tree from the </span><span style="font-size:13px">lxc package </span></div><div class="gmail_default" style="font-size:small"><span style="font-size:13px"><br></span></div>
</div><div class="gmail_default" style="font-family:arial,sans-serif"><span style="font-size:13px">I got it here (thanks to Fajar):</span></div><div class="gmail_default" style="font-family:arial,sans-serif"><span style="font-size:13px"><br>
</span></div><div class="gmail_default" style="font-family:arial,sans-serif"><span style="font-size:13px"> </span><a href="http://archive.ubuntu.com/ubuntu/pool/main/l/lxc/lxc_1.0.3-0ubuntu3.debian.tar.gz" target="_blank" style="font-size:13px">http://archive.ubuntu.com/ubuntu/pool/main/l/lxc/lxc_1.0.3-0ubuntu3.debian.tar.gz</a><span style="font-size:13px"><br>
</span></div><div class="im" style="font-family:arial,sans-serif;font-size:13px"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-size:13px">> and copy it under the git tree, then run </span><span style="font-size:13px">debian/rules build</span></div>
</div><div class="gmail_default" style="font-family:arial,sans-serif"><span style="font-size:13px">$ git clone <a href="https://github.com/lxc/lxc.git" target="_blank">https://github.com/lxc/lxc.git</a></span></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:13px">
$ cd lxc ; tar xvzf ../Downloads/<font face="arial, sans-serif">lxc_1.0.3-0ubuntu3.debian.tar.gz</font></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:13px"><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><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' in a zip file 7PM-May27.zip</div>
</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 25, 2014 at 8:13 PM, Phiho Hoang <span dir="ltr"><<a href="mailto:hohoangphi@gmail.com" target="_blank">hohoangphi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Dear List,</div><div class="gmail_default" style="font-size:small">
<br></div><div class="gmail_default" style="font-size:small">I got this problem with lxc built from git source code, cloned May 25.</div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">A similar issue was closed on Mar-27:</div><div class="gmail_default"><br></div><div class="gmail_default">
<a href="https://github.com/lxc/lxc/issues/189" target="_blank">https://github.com/lxc/lxc/issues/189</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">FWIW, lxc 1.0.3 installed with</div><div class="gmail_default">
<br></div><div class="gmail_default">$ sudo apt-get install lxc</div><div class="gmail_default"><br></div><div class="gmail_default">does NOT have this problem</div><div class="gmail_default"><br></div>
<div class="gmail_default">Is this a known issue or it's just my environment?</div><div class="gmail_default"><br></div><div class="gmail_default" style="font-size:small">Please find appended below the console output.</div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Best regards,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">
PhiHo</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><span style="background-color:rgb(255,255,255)">$ </span><span style="font-size:15px;font-family:'Courier 10 Pitch',Courier,monospace;line-height:21px;background-color:rgb(247,247,247)">sudo lxc-create -t ubuntu -n p1</span></div>
<div class="gmail_default"><span style="font-size:15px;font-family:'Courier 10 Pitch',Courier,monospace;line-height:21px;background-color:rgb(247,247,247)">...</span></div><div class="gmail_default"><span style="font-size:15px;font-family:'Courier 10 Pitch',Courier,monospace;line-height:21px;background-color:rgb(247,247,247)">...</span></div>
<div class="gmail_default"><span style="background-color:rgb(247,247,247)"><div class="gmail_default"><font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px">Local time is now: Sun May 25 16:28:34 EDT 2014.</span></font></div>
<div class="gmail_default"><font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px">Universal Time is now: Sun May 25 20:28:34 UTC 2014.</span></font></div><div class="gmail_default">
<br></div><div class="gmail_default"><font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px">##</span></font></div><div class="gmail_default"><font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px"># The default user is 'ubuntu' with password 'ubuntu'!</span></font></div>
<div class="gmail_default"><font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px"># Use the 'sudo' command to run tasks as root in the container.</span></font></div><div class="gmail_default">
<font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px">##</span></font></div><div class="gmail_default"><font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px"><br>
</span></font></div><div class="gmail_default"><font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px">$ sudo lxc-start -n p1 -d</span></font></div><div class="gmail_default">
<font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px">lxc-start: command get_cgroup failed to receive response</span></font></div><div class="gmail_default"><font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px"><br>
</span></font></div><div class="gmail_default"><font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px">$ sudo lxc-start --version</span></font></div><div class="gmail_default">
<font face="Courier 10 Pitch, Courier, monospace"><span style="font-size:15px;line-height:21px">1.0.0</span></font></div><div class="gmail_default"><div class="gmail_default">phiho@lxc1:~$ dmesg | tail -30</div><div class="gmail_default">
[128539.786407] type=1400 audit(1401041189.000:22): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lxc-container-default-with-mounting" pid=20312 comm="apparmor_parser"</div>
<div class="gmail_default">[128539.786801] type=1400 audit(1401041189.000:23): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lxc-container-default-with-nesting" pid=20312 comm="apparmor_parser"</div>
<div class="gmail_default">[128539.848905] type=1400 audit(1401041189.064:24): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/lxc-start" pid=20320 comm="apparmor_parser"</div>
<div class="gmail_default">[128539.934321] ip_tables: (C) 2000-2006 Netfilter Core Team</div><div class="gmail_default">[128539.978087] Bridge firewalling registered</div><div class="gmail_default">[128540.052024] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)</div>
<div class="gmail_default">[128540.180870] type=1400 audit(1401041189.396:25): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/bin/lxc-start" pid=20410 comm="apparmor_parser"</div>
<div class="gmail_default">[128540.202420] type=1400 audit(1401041189.416:26): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="lxc-container-default" pid=20415 comm="apparmor_parser"</div>
<div class="gmail_default">[128540.202436] type=1400 audit(1401041189.416:27): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="lxc-container-default-with-mounting" pid=20415 comm="apparmor_parser"</div>
<div class="gmail_default">[128540.202446] type=1400 audit(1401041189.416:28): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="lxc-container-default-with-nesting" pid=20415 comm="apparmor_parser"</div>
<div class="gmail_default">[128540.203069] type=1400 audit(1401041189.416:29): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="lxc-container-default-with-mounting" pid=20415 comm="apparmor_parser"</div>
<div class="gmail_default">[128540.203080] type=1400 audit(1401041189.416:30): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="lxc-container-default-with-nesting" pid=20415 comm="apparmor_parser"</div>
<div class="gmail_default">[136961.307423] init: upstart-udev-bridge main process (431) terminated with status 1</div><div class="gmail_default">[136961.307459] init: upstart-udev-bridge main process ended, respawning</div>
<div class="gmail_default">[136961.308404] init: upstart-file-bridge main process (529) terminated with status 1</div><div class="gmail_default">[136961.308436] init: upstart-file-bridge main process ended, respawning</div>
<div class="gmail_default">[136961.309353] init: upstart-socket-bridge main process (688) terminated with status 1</div><div class="gmail_default">[136961.309385] init: upstart-socket-bridge main process ended, respawning</div>
<div class="gmail_default">[136964.043663] init: upstart-udev-bridge main process (29937) terminated with status 1</div><div class="gmail_default">[136964.043686] init: upstart-udev-bridge main process ended, respawning</div>
<div class="gmail_default">[136964.044081] init: upstart-socket-bridge main process (29940) terminated with status 1</div><div class="gmail_default">[136964.044102] init: upstart-socket-bridge main process ended, respawning</div>
<div class="gmail_default">[136964.044455] init: upstart-file-bridge main process (29943) terminated with status 1</div><div class="gmail_default">[136964.044475] init: upstart-file-bridge main process ended, respawning</div>
<div class="gmail_default">[137048.345628] init: upstart-udev-bridge main process (30059) terminated with status 1</div><div class="gmail_default">[137048.345652] init: upstart-udev-bridge main process ended, respawning</div>
<div class="gmail_default">[137048.346254] init: upstart-file-bridge main process (30062) terminated with status 1</div><div class="gmail_default">[137048.346275] init: upstart-file-bridge main process ended, respawning</div>
<div class="gmail_default">[137048.346937] init: upstart-socket-bridge main process (30065) terminated with status 1</div><div class="gmail_default">[137048.346958] init: upstart-socket-bridge main process ended, respawning</div>
<div class="gmail_default">$</div><div><div>$ sudo aa-status</div><div>apparmor module is loaded.<br></div><div>8 profiles are loaded.</div><div>8 profiles are in enforce mode.</div><div> /sbin/dhclient</div><div> /usr/bin/lxc-start</div>
<div> /usr/lib/NetworkManager/nm-dhcp-client.action</div><div> /usr/lib/connman/scripts/dhclient-script</div><div> /usr/sbin/tcpdump</div><div> lxc-container-default</div><div> lxc-container-default-with-mounting</div>
<div> lxc-container-default-with-nesting</div><div>0 profiles are in complain mode.</div><div>1 processes have profiles defined.</div><div>1 processes are in enforce mode.</div><div> /sbin/dhclient (758)</div><div>0 processes are in complain mode.</div>
<div>0 processes are unconfined but have a profile defined.</div></div><div><br></div></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div></span></div></div>
</blockquote></div><br></div>