<?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 Debian Containers</title>
	<atom:link href="http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/</link>
	<description>A LAMP in the Samsara</description>
	<lastBuildDate>Tue, 31 Jan 2012 20:20:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: LXC</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/comment-page-1/#comment-3443</link>
		<dc:creator>LXC</dc:creator>
		<pubDate>Fri, 20 May 2011 09:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=989#comment-3443</guid>
		<description>[...] http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/" rel="nofollow">http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/comment-page-1/#comment-3098</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Tue, 01 Mar 2011 16:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=989#comment-3098</guid>
		<description>@Patrick

No reason. Honestly you probably need only one tty if you wish you can almost certainly disable the rest.</description>
		<content:encoded><![CDATA[<p>@Patrick</p>
<p>No reason. Honestly you probably need only one tty if you wish you can almost certainly disable the rest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/comment-page-1/#comment-3097</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Tue, 01 Mar 2011 15:04:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=989#comment-3097</guid>
		<description>Hi!

First, many thanks for sharing your lxc example. This helped me a lot.
But there is one thing I did not get, yet:

You created 4 ttys...:

&lt;code&gt;
mknod -m 666 tty1 c 4 1
mknod -m 666 tty2 c 4 2
mknod -m 666 tty3 c 4 3
mknod -m 666 tty4 c 4 4
&lt;/code&gt;

...and commenting out tty5 and tty6 in the inittab I assume you want to use tty1 to tty4 inside the container.

But in the config file you only allow to access tty1 and tty2...:

&lt;code&gt;
# consoles
[...]
lxc.cgroup.devices.allow = c 4:0 rwm
lxc.cgroup.devices.allow = c 4:1 rwm
&lt;/code&gt;

...denying the rest:

&lt;code&gt;
lxc.cgroup.devices.deny = a
&lt;/code&gt;

Is there a special reason for not allowing to access tty3 and tty4?</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>First, many thanks for sharing your lxc example. This helped me a lot.<br />
But there is one thing I did not get, yet:</p>
<p>You created 4 ttys&#8230;:</p>
<p><code><br />
mknod -m 666 tty1 c 4 1<br />
mknod -m 666 tty2 c 4 2<br />
mknod -m 666 tty3 c 4 3<br />
mknod -m 666 tty4 c 4 4<br />
</code></p>
<p>&#8230;and commenting out tty5 and tty6 in the inittab I assume you want to use tty1 to tty4 inside the container.</p>
<p>But in the config file you only allow to access tty1 and tty2&#8230;:</p>
<p><code><br />
# consoles<br />
[...]<br />
lxc.cgroup.devices.allow = c 4:0 rwm<br />
lxc.cgroup.devices.allow = c 4:1 rwm<br />
</code></p>
<p>&#8230;denying the rest:</p>
<p><code><br />
lxc.cgroup.devices.deny = a<br />
</code></p>
<p>Is there a special reason for not allowing to access tty3 and tty4?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/comment-page-1/#comment-2759</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Thu, 06 Jan 2011 01:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=989#comment-2759</guid>
		<description>thank you stlsaint for the feedback, I updated my post.</description>
		<content:encoded><![CDATA[<p>thank you stlsaint for the feedback, I updated my post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stlsaint</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/comment-page-1/#comment-2758</link>
		<dc:creator>stlsaint</dc:creator>
		<pubDate>Thu, 06 Jan 2011 00:57:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=989#comment-2758</guid>
		<description>Hey found two small mistakes:
1. In the config you have: lxc.network.ipv4 = 192.168.0.60/24
But when you explain what it is you have the ip as 192.1681.10 
&quot;lxc.network.ipv4 sets the container ip address (192.168.0.10) and netmask ( /24 ).&quot;

2. &quot;Using any editor, add the following to /lxc/rootfs.lenny/etc/init.d/rdS.lenny&quot;
That should be init.d/rcS....

Small but would hate for someone to be stuck due to minor pointers!</description>
		<content:encoded><![CDATA[<p>Hey found two small mistakes:<br />
1. In the config you have: lxc.network.ipv4 = 192.168.0.60/24<br />
But when you explain what it is you have the ip as 192.1681.10<br />
&#8220;lxc.network.ipv4 sets the container ip address (192.168.0.10) and netmask ( /24 ).&#8221;</p>
<p>2. &#8220;Using any editor, add the following to /lxc/rootfs.lenny/etc/init.d/rdS.lenny&#8221;<br />
That should be init.d/rcS&#8230;.</p>
<p>Small but would hate for someone to be stuck due to minor pointers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SGI</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/comment-page-1/#comment-2394</link>
		<dc:creator>SGI</dc:creator>
		<pubDate>Tue, 30 Nov 2010 13:27:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=989#comment-2394</guid>
		<description>Small corrections:

rdS.lenny  -&gt; rcS.lennuy
ln -s /proc/mounts /etc/fstab -&gt; ln -s /proc/mounts /etc/mtab</description>
		<content:encoded><![CDATA[<p>Small corrections:</p>
<p>rdS.lenny  -&gt; rcS.lennuy<br />
ln -s /proc/mounts /etc/fstab -&gt; ln -s /proc/mounts /etc/mtab</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastiaan Giebels 2</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/comment-page-1/#comment-2172</link>
		<dc:creator>Sebastiaan Giebels 2</dc:creator>
		<pubDate>Wed, 01 Sep 2010 19:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=989#comment-2172</guid>
		<description># “Fix” mtab
rm /etc/mtab
ln -s /proc/mounts /etc/fstab


last line should read:
ln -s /proc/mounts /etc/mtab

(see http://blog.bodhizazen.net/linux/lxc-configure-fedora-containers/ )


lxc-start: unknow key lxc.fstab
lxc-start: failed to process ‘lxc.fstab = /lxc/fstab.lenny
‘
lxc.fstab should be
lxc.mount
specify a file location in the fstab format, containing the
mount informations.
Comment by Sebastiaan Giebels — September 1, 2010</description>
		<content:encoded><![CDATA[<p># “Fix” mtab<br />
rm /etc/mtab<br />
ln -s /proc/mounts /etc/fstab</p>
<p>last line should read:<br />
ln -s /proc/mounts /etc/mtab</p>
<p>(see <a href="http://blog.bodhizazen.net/linux/lxc-configure-fedora-containers/" rel="nofollow">http://blog.bodhizazen.net/linux/lxc-configure-fedora-containers/</a> )</p>
<p>lxc-start: unknow key lxc.fstab<br />
lxc-start: failed to process ‘lxc.fstab = /lxc/fstab.lenny<br />
‘<br />
lxc.fstab should be<br />
lxc.mount<br />
specify a file location in the fstab format, containing the<br />
mount informations.<br />
Comment by Sebastiaan Giebels — September 1, 2010</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastiaan Giebels</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/comment-page-1/#comment-2171</link>
		<dc:creator>Sebastiaan Giebels</dc:creator>
		<pubDate>Wed, 01 Sep 2010 19:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=989#comment-2171</guid>
		<description>lxc-start: unknow key lxc.fstab
lxc-start: failed to process &#039;lxc.fstab = /lxc/fstab.lenny
&#039;

lxc.fstab should be

        lxc.mount
              specify a file location in  the  fstab  format,  containing  the
              mount informations.</description>
		<content:encoded><![CDATA[<p>lxc-start: unknow key lxc.fstab<br />
lxc-start: failed to process &#8216;lxc.fstab = /lxc/fstab.lenny<br />
&#8216;</p>
<p>lxc.fstab should be</p>
<p>        lxc.mount<br />
              specify a file location in  the  fstab  format,  containing  the<br />
              mount informations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastiaan Giebels</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/comment-page-1/#comment-2170</link>
		<dc:creator>Sebastiaan Giebels</dc:creator>
		<pubDate>Wed, 01 Sep 2010 18:51:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=989#comment-2170</guid>
		<description>Using any editor, add the following to /lxc/rootfs.lenny/etc/init.d/rdS.lenny

should be:

rcS.lenny</description>
		<content:encoded><![CDATA[<p>Using any editor, add the following to /lxc/rootfs.lenny/etc/init.d/rdS.lenny</p>
<p>should be:</p>
<p>rcS.lenny</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastiaan Giebels</title>
		<link>http://blog.bodhizazen.net/linux/lxc-configure-debian-lenny-containers/comment-page-1/#comment-2169</link>
		<dc:creator>Sebastiaan Giebels</dc:creator>
		<pubDate>Wed, 01 Sep 2010 18:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=989#comment-2169</guid>
		<description># “Fix” mtab
rm /etc/mtab
ln -s /proc/mounts /etc/fstab


last line should read:
ln -s /proc/mounts /etc/mtab

(see http://blog.bodhizazen.net/linux/lxc-configure-fedora-containers/ )</description>
		<content:encoded><![CDATA[<p># “Fix” mtab<br />
rm /etc/mtab<br />
ln -s /proc/mounts /etc/fstab</p>
<p>last line should read:<br />
ln -s /proc/mounts /etc/mtab</p>
<p>(see <a href="http://blog.bodhizazen.net/linux/lxc-configure-fedora-containers/" rel="nofollow">http://blog.bodhizazen.net/linux/lxc-configure-fedora-containers/</a> )</p>
]]></content:encoded>
	</item>
</channel>
</rss>

