<?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: Using osc build to make a jail on openSUSE</title>
	<atom:link href="http://andrew.jorgensenfamily.us/2010/03/osc-build-jail/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrew.jorgensenfamily.us/2010/03/osc-build-jail/</link>
	<description>It&#039;s better than bad, it&#039;s good!</description>
	<lastBuildDate>Mon, 06 Feb 2012 23:49:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Brian K. White</title>
		<link>http://andrew.jorgensenfamily.us/2010/03/osc-build-jail/comment-page-1/#comment-1310</link>
		<dc:creator>Brian K. White</dc:creator>
		<pubDate>Tue, 15 Mar 2011 23:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://andrew.jorgensenfamily.us/?p=565#comment-1310</guid>
		<description>ergg $CR is /path/to/container/root sorry</description>
		<content:encoded><![CDATA[<p>ergg $CR is /path/to/container/root sorry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian K. White</title>
		<link>http://andrew.jorgensenfamily.us/2010/03/osc-build-jail/comment-page-1/#comment-1309</link>
		<dc:creator>Brian K. White</dc:creator>
		<pubDate>Tue, 15 Mar 2011 23:15:45 +0000</pubDate>
		<guid isPermaLink="false">http://andrew.jorgensenfamily.us/?p=565#comment-1309</guid>
		<description>Wow I wonder if this is worth using as the quickest way to get an LXC container?

For a container, we usually want an entire functioning system, minimal as possible, but not for example any kernel or modules or grub or udev, but do want at least a partly populated /dev.

And of course in the case of LXC, containers that aren&#039;t full systems but just specific apps or services are also part of the defined design goal. Perhaps this osc trick is very close to whats needed for those kinds of containers at least.

For full system LXC containers, currently I use
zypper -R $CR ar -f http://host/.../repo/oss/ oss
zypper -R $CR in -lt pattern base

Preceded and followed by several manual tweaks.
(Which I wrote up at http://en.opensuse.org/LXC)

It works but it&#039;s a drag where several things must be done manually and remembered and gotten just right every time, manually... OpenVZ web site has template filesystem tars already hand crafted but that&#039;s cheating, not solving the problem, merely making someone else (vs. a tool) do the work.</description>
		<content:encoded><![CDATA[<p>Wow I wonder if this is worth using as the quickest way to get an LXC container?</p>
<p>For a container, we usually want an entire functioning system, minimal as possible, but not for example any kernel or modules or grub or udev, but do want at least a partly populated /dev.</p>
<p>And of course in the case of LXC, containers that aren&#8217;t full systems but just specific apps or services are also part of the defined design goal. Perhaps this osc trick is very close to whats needed for those kinds of containers at least.</p>
<p>For full system LXC containers, currently I use<br />
zypper -R $CR ar -f <a href="http://host/.../repo/oss/" rel="nofollow">http://host/&#8230;/repo/oss/</a> oss<br />
zypper -R $CR in -lt pattern base</p>
<p>Preceded and followed by several manual tweaks.<br />
(Which I wrote up at <a href="http://en.opensuse.org/LXC" rel="nofollow">http://en.opensuse.org/LXC</a>)</p>
<p>It works but it&#8217;s a drag where several things must be done manually and remembered and gotten just right every time, manually&#8230; OpenVZ web site has template filesystem tars already hand crafted but that&#8217;s cheating, not solving the problem, merely making someone else (vs. a tool) do the work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Jorgensen</title>
		<link>http://andrew.jorgensenfamily.us/2010/03/osc-build-jail/comment-page-1/#comment-722</link>
		<dc:creator>Andrew Jorgensen</dc:creator>
		<pubDate>Mon, 15 Mar 2010 17:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://andrew.jorgensenfamily.us/?p=565#comment-722</guid>
		<description>I secretly hoped someone would chime in with an easier way.  Thank you!

Unfortunately the zypper approach seems to only work for very simple cases.  For example it will not create any entries in &lt;code&gt;/dev&lt;/code&gt; and this will cause a number of packages to fail to install.  Also zypper doesn&#039;t install things in the right order so users and groups are not created early and rpm re-owns files in packages if the owner / group can&#039;t be found.  You could script around these problems but eventually you&#039;d realize that osc build already scripted around them for you.</description>
		<content:encoded><![CDATA[<p>I secretly hoped someone would chime in with an easier way.  Thank you!</p>
<p>Unfortunately the zypper approach seems to only work for very simple cases.  For example it will not create any entries in <code>/dev</code> and this will cause a number of packages to fail to install.  Also zypper doesn&#8217;t install things in the right order so users and groups are not created early and rpm re-owns files in packages if the owner / group can&#8217;t be found.  You could script around these problems but eventually you&#8217;d realize that osc build already scripted around them for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://andrew.jorgensenfamily.us/2010/03/osc-build-jail/comment-page-1/#comment-718</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 12 Mar 2010 19:41:35 +0000</pubDate>
		<guid isPermaLink="false">http://andrew.jorgensenfamily.us/?p=565#comment-718</guid>
		<description>That&#039;s somehow suboptimal for 2 reasons:

1. with osc you always get the minimal build env installed as well.

2. it&#039;s much easier with plain zypper:

zypper -R /chail/postfix -D /etc/zypp/repos.d in postfix

installs postfix &amp; it&#039;s deps into /chail/postfix. OTOH it still installs quite some stuff one doesn&#039;t need.

JFYI ;)</description>
		<content:encoded><![CDATA[<p>That&#8217;s somehow suboptimal for 2 reasons:</p>
<p>1. with osc you always get the minimal build env installed as well.</p>
<p>2. it&#8217;s much easier with plain zypper:</p>
<p>zypper -R /chail/postfix -D /etc/zypp/repos.d in postfix</p>
<p>installs postfix &amp; it&#8217;s deps into /chail/postfix. OTOH it still installs quite some stuff one doesn&#8217;t need.</p>
<p>JFYI <img src='http://andrew.jorgensenfamily.us/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

