<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: LXC Configure Ubuntu Lucid Containers</title>
	<atom:link href="http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/</link>
	<description>A LAMP in the Samsara</description>
	<lastBuildDate>Tue, 07 Sep 2010 07:48:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/comment-page-1/#comment-2100</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 09 Aug 2010 09:31:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=874#comment-2100</guid>
		<description>Still a problem with the rc-sysinit script


cat &lt; /lxc/rootfs.ubuntu/init/rc-sysinit

should be


cat &lt; /lxc/rootfs.ubuntu/etc/init/rc-sysinit

Even with this correction the script does not start when starting the container.  I have to run it manually to set the gateway.  Any ideas?</description>
		<content:encoded><![CDATA[<p>Still a problem with the rc-sysinit script</p>
<p>cat &lt; /lxc/rootfs.ubuntu/init/rc-sysinit</p>
<p>should be</p>
<p>cat &lt; /lxc/rootfs.ubuntu/etc/init/rc-sysinit</p>
<p>Even with this correction the script does not start when starting the container.  I have to run it manually to set the gateway.  Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikola</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/comment-page-1/#comment-2049</link>
		<dc:creator>Nikola</dc:creator>
		<pubDate>Thu, 15 Jul 2010 17:57:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=874#comment-2049</guid>
		<description>Hello everyone,
First tnx for the great tutorial, I am very new to LXCs and I have few questions regarding it:

1.I cannot start mysql .... when I use chroot I get &quot;ERROR 2002 (HY000): Can&#039;t connect to local MySQL server through socket &#039;/var/run/mysqld/mysqld.sock&#039; (111) &quot; and when I use container on the same rootfs &quot;lxc-staer -n name /bin/bash&quot; i get  &quot;ERROR 2002 (HY000): Can&#039;t connect to local MySQL server through socket &#039;/var/run/mysqld/mysqld.sock&#039; (2)&quot; (In the second case there is no /var/run/mysqld) ... pretty weird huh, I cant see what I am doing wrong?
2. When I do lxc-start -n name after configuration.... it blocks, so I must run it with lxc-start -n name /bin/bash, does anyone knows why is that so?
3.When I try using lxc-execute it says that smt. is wrong with cgroup, why is that so?

Thank you VERY much in advance, every solution will be appreciated,
Nikola</description>
		<content:encoded><![CDATA[<p>Hello everyone,<br />
First tnx for the great tutorial, I am very new to LXCs and I have few questions regarding it:</p>
<p>1.I cannot start mysql &#8230;. when I use chroot I get &#8220;ERROR 2002 (HY000): Can&#8217;t connect to local MySQL server through socket &#8216;/var/run/mysqld/mysqld.sock&#8217; (111) &#8221; and when I use container on the same rootfs &#8220;lxc-staer -n name /bin/bash&#8221; i get  &#8220;ERROR 2002 (HY000): Can&#8217;t connect to local MySQL server through socket &#8216;/var/run/mysqld/mysqld.sock&#8217; (2)&#8221; (In the second case there is no /var/run/mysqld) &#8230; pretty weird huh, I cant see what I am doing wrong?<br />
2. When I do lxc-start -n name after configuration&#8230;. it blocks, so I must run it with lxc-start -n name /bin/bash, does anyone knows why is that so?<br />
3.When I try using lxc-execute it says that smt. is wrong with cgroup, why is that so?</p>
<p>Thank you VERY much in advance, every solution will be appreciated,<br />
Nikola</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/comment-page-1/#comment-2048</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Thu, 08 Jul 2010 19:46:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=874#comment-2048</guid>
		<description>Thank you two, will fix that.</description>
		<content:encoded><![CDATA[<p>Thank you two, will fix that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SGI</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/comment-page-1/#comment-2047</link>
		<dc:creator>SGI</dc:creator>
		<pubDate>Thu, 08 Jul 2010 15:41:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=874#comment-2047</guid>
		<description>chmod a+x /lxc/rootfs.ubuntu/init/rc-sysinit
should be 
chmod a+x /lxc/rootfs.ubuntu/etc/init/rc-sysinit</description>
		<content:encoded><![CDATA[<p>chmod a+x /lxc/rootfs.ubuntu/init/rc-sysinit<br />
should be<br />
chmod a+x /lxc/rootfs.ubuntu/etc/init/rc-sysinit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Whitney</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/comment-page-1/#comment-2046</link>
		<dc:creator>Sean Whitney</dc:creator>
		<pubDate>Wed, 07 Jul 2010 22:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=874#comment-2046</guid>
		<description>/lxc/rootfs.ubuntu/init/rc-sysinit should be
/lxc/rootfs.ubuntu/etc/init/rc-sysinit</description>
		<content:encoded><![CDATA[<p>/lxc/rootfs.ubuntu/init/rc-sysinit should be<br />
/lxc/rootfs.ubuntu/etc/init/rc-sysinit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/comment-page-1/#comment-2033</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Tue, 22 Jun 2010 15:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=874#comment-2033</guid>
		<description>yes, i found the same problem... but kernel 2.6.32-r7 works without user-cr</description>
		<content:encoded><![CDATA[<p>yes, i found the same problem&#8230; but kernel 2.6.32-r7 works without user-cr</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zenny</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/comment-page-1/#comment-2004</link>
		<dc:creator>zenny</dc:creator>
		<pubDate>Sat, 05 Jun 2010 06:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=874#comment-2004</guid>
		<description>changing the netmask and IP didn&#039;t help either. Seems LXC is yet at par with ovz :-(</description>
		<content:encoded><![CDATA[<p>changing the netmask and IP didn&#8217;t help either. Seems LXC is yet at par with ovz :-(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/comment-page-1/#comment-2002</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Fri, 04 Jun 2010 23:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=874#comment-2002</guid>
		<description>Looks fine so long as the network line is correct :

lxc.network.ipv4 = 192.168.0.10/24

This line sets the ip address of the container and netmask.</description>
		<content:encoded><![CDATA[<p>Looks fine so long as the network line is correct :</p>
<p>lxc.network.ipv4 = 192.168.0.10/24</p>
<p>This line sets the ip address of the container and netmask.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zenny</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/comment-page-1/#comment-2001</link>
		<dc:creator>zenny</dc:creator>
		<pubDate>Fri, 04 Jun 2010 20:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=874#comment-2001</guid>
		<description>I made /lxc/config.ubuntu which looks like:

lxc.utsname = ubuntu
lxc.tty = 4
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
lxc.network.name = eth0
lxc.network.mtu = 1500
lxc.network.ipv4 = 192.168.20.0/24
lxc.rootfs = /lxc/rootfs.ubuntu
lxc.mount = /lxc/fstab.ubuntu
lxc.cgroup.devices.deny = a
# /dev/null and zero
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
# consoles
lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 4:0 rwm
lxc.cgroup.devices.allow = c 4:1 rwm
# /dev/{,u}random
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
# /dev/pts/* - pts namespaces are &quot;coming soon&quot;
lxc.cgroup.devices.allow = c 136:* rwm
lxc.cgroup.devices.allow = c 5:2 rwm
# rtc
lxc.cgroup.devices.allow = c 254:0 rwm


And /lxc/fstab.ubuntu which looks like:

none /lxc/rootfs.ubuntu/dev/pts devpts defaults 0 0
none /lxc/rootfs.ubuntu/proc proc defaults 0 0
none /lxc/rootfs.ubuntu/sys sysfs defaults 0 0
none /lxc/rootfs.ubuntu/var/lock tmpfs defaults 0 0
none /lxc/rootfs.ubuntu/var/run tmpfs defaults 0 0
/etc/resolv.conf /lxc/rootfs.ubuntu/etc/resolv.conf none bind 0 0

Is there anything else that I need to create?</description>
		<content:encoded><![CDATA[<p>I made /lxc/config.ubuntu which looks like:</p>
<p>lxc.utsname = ubuntu<br />
lxc.tty = 4<br />
lxc.network.type = veth<br />
lxc.network.flags = up<br />
lxc.network.link = br0<br />
lxc.network.name = eth0<br />
lxc.network.mtu = 1500<br />
lxc.network.ipv4 = 192.168.20.0/24<br />
lxc.rootfs = /lxc/rootfs.ubuntu<br />
lxc.mount = /lxc/fstab.ubuntu<br />
lxc.cgroup.devices.deny = a<br />
# /dev/null and zero<br />
lxc.cgroup.devices.allow = c 1:3 rwm<br />
lxc.cgroup.devices.allow = c 1:5 rwm<br />
# consoles<br />
lxc.cgroup.devices.allow = c 5:1 rwm<br />
lxc.cgroup.devices.allow = c 5:0 rwm<br />
lxc.cgroup.devices.allow = c 4:0 rwm<br />
lxc.cgroup.devices.allow = c 4:1 rwm<br />
# /dev/{,u}random<br />
lxc.cgroup.devices.allow = c 1:9 rwm<br />
lxc.cgroup.devices.allow = c 1:8 rwm<br />
# /dev/pts/* &#8211; pts namespaces are &#8220;coming soon&#8221;<br />
lxc.cgroup.devices.allow = c 136:* rwm<br />
lxc.cgroup.devices.allow = c 5:2 rwm<br />
# rtc<br />
lxc.cgroup.devices.allow = c 254:0 rwm</p>
<p>And /lxc/fstab.ubuntu which looks like:</p>
<p>none /lxc/rootfs.ubuntu/dev/pts devpts defaults 0 0<br />
none /lxc/rootfs.ubuntu/proc proc defaults 0 0<br />
none /lxc/rootfs.ubuntu/sys sysfs defaults 0 0<br />
none /lxc/rootfs.ubuntu/var/lock tmpfs defaults 0 0<br />
none /lxc/rootfs.ubuntu/var/run tmpfs defaults 0 0<br />
/etc/resolv.conf /lxc/rootfs.ubuntu/etc/resolv.conf none bind 0 0</p>
<p>Is there anything else that I need to create?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/comment-page-1/#comment-2000</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Fri, 04 Jun 2010 18:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=874#comment-2000</guid>
		<description>@zenny -

Did you make a configuration file for your lucid template ?</description>
		<content:encoded><![CDATA[<p>@zenny -</p>
<p>Did you make a configuration file for your lucid template ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.084 seconds -->
