<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Christian&#039;s blog &#187; Novell</title>
	<atom:link href="http://blog.barfoo.org/tags/novell/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.barfoo.org</link>
	<description>The usual IT babble</description>
	<lastBuildDate>Thu, 02 Sep 2010 04:45:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>Creating a custom RPM repository for SMT</title>
		<link>http://blog.barfoo.org/2009/10/22/creating-a-custom-rpm-repository-for-smt/</link>
		<comments>http://blog.barfoo.org/2009/10/22/creating-a-custom-rpm-repository-for-smt/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 17:59:45 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Novell]]></category>
		<category><![CDATA[SLES10]]></category>
		<category><![CDATA[SLES11]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=2665</guid>
		<description><![CDATA[I spent some time yesterday figuring out ways on how to assign custom (as in self-built) RPMs to a installation using SMT. First you obviously need a &#8220;external&#8221; repository, that can be integrated into the SMT. So we need to create repository someplace, where the SMT can go and grab it. I ain&#8217;t gonna cover]]></description>
			<content:encoded><![CDATA[<p>I spent some time yesterday figuring out ways on how to assign custom (as in self-built) RPMs to a installation using SMT. First you obviously need a &#8220;<em>external</em>&#8221; repository, that can be integrated into the SMT.</p>
<p>So we need to create repository someplace, where the SMT can go and grab it. I ain&#8217;t gonna cover the sharing part, since that is your job! I&#8217;m just gonna cover the steps on how to create the custom repository and how to integrate it into the SMT.</p>
<pre class="syntax brush-bash-script">mkdir -p /srv/www/htdocs/custom-rpms/sles10-addons/rpm/{i586,x86_64,src}
# copy some RPMs into the respective arch directories
cd /srv/www/htdocs/custom-rpms/sles10-addons/
createrepo -o $PWD .
gpg --genkey
gpg -a --detach-sign --default-key &lt;keyid&gt; repodata/repomd.xml
gpg -a --export &lt;keyid&gt; &gt; repodata/repomd.xml.key
</pre>
<p>That&#8217;s it, you just created a RPM-repository which you could use with <span class="cmd">YaST</span>/<span class="cmd">zypper</span> &#8230; But since you already invested time into getting SMT up and running, you might want to assign this repository based on the product that is being installed.</p>
<p>Say we have RPMs for SLES10 SP1/SP2/SP3 in this repository for the architectures i586 and x86_64. First you would take a look at the output of <span class="cmd">smt-list-products</span> and get the ID for the products/architecture you want to assign this to. But since we&#8217;re lazy, you could just use this:</p>
<pre class="syntax brush-bash-script">smt-setup-custom-repos $( for i in $( smt-list-products -f csv \
  | egrep &quot;SUSE-Linux-Enterprise-Server.*(i(.*)86|x86_64)&quot; | cut -d, -f1 \
  | sed 's,&quot;,,g' ); do echo -n &quot;--productid $i &quot;; done ) \
  --name 'SLE10-Addons' \
  --description 'Additional RPMs not part of SLES10 (i586/x86_64)' \
  --exturl 'http://smt.home.barfoo.org/custom-rpms/sle-10-addons'</pre>
<p>And likewise for SLES11:</p>
<pre class="syntax brush-bash-script">smt-setup-custom-repos $( for i in $( smt-list-products -f csv \
  | egrep &quot;SUSE_SLES.*(i(.*)86|x86_64)&quot; | cut -d, -f1 \
  | sed 's,&quot;,,g' ); do echo -n &quot;--productid $i &quot;; done )   \
  --name 'SLE11-Addons'   \
  --description 'Additional RPMs not part of SLES11 (i586/x86_64)' \
  --exturl 'http://smt.home.barfoo.org/custom-rpms/sle-11-addons/'</pre>
<p>Now, after <span class="cmd">smt-mirror</span> has been executed the next time (either by yourself or via the predefined <span class="cmd">crontab</span> entry), SMT is able to assign this repository to clients. While this isn&#8217;t completely true &#8212; SMT is able to assign this custom catalog before running <span class="cmd">smt-mirror</span>, but it just doesn&#8217;t make sense, since it doesn&#8217;t contain any data &#8212; it still works.</p>
<p>Now, once you install the next SLES10/SLES11 (hopefully you enabled <span class="cmd">suseRegister</span>, that actually gathers the channels), SMT will assign this &#8220;update channel&#8221; (jesus, why does Novell use so many words for the same damn thing ?), on top of all the others, to your system.</p>
<p>The only trouble with this is, that if you want to install packages from this repository during setup, it&#8217;s not gonna work. That&#8217;s because YaST (or AutoYaST) first install packages, preps the environment and after prebooting the new system, then runs <span class="cmd">suseRegister</span>/<span class="cmd">customer_center</span> &#8230; Screwed. Again.</p>
<p>Guess the only way is to add the original repository (no need to automatically assign this, since we can&#8217;t install during setup) into the <span class="cmd">add-ons</span> section of my AutoYaST file.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2009/10/22/creating-a-custom-rpm-repository-for-smt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging &#8220;rug&#8221;</title>
		<link>http://blog.barfoo.org/2008/08/15/debugging-rug/</link>
		<comments>http://blog.barfoo.org/2008/08/15/debugging-rug/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 19:19:06 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Novell]]></category>
		<category><![CDATA[SLES10]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=902</guid>
		<description><![CDATA[Well, it&#8217;s 7pm. I&#8217;m sitting at home and thinking about why in gods name rug isn&#8217;t adding my update repository. I can add the service using yast inst_source, but when yast then syncs with ZenWorks, it tells me something like: Failed to get repomd/repodata.xml; Reason: 530 &#8211; Access denied So my fellow co-worker turned on]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s 7pm. I&#8217;m sitting at home and thinking about why in gods name rug isn&#8217;t adding my update repository. I can add the service using yast inst_source, but when yast then syncs with ZenWorks, it tells me something like:</p>
<p>Failed to get repomd/repodata.xml; Reason: 530 &#8211; Access denied</p>
<p>So my fellow co-worker turned on the debug-logging and we quickly found out why: rug isn&#8217;t using the command line credentials I was passing.</p>
<p>Now I only need to find out, why rug isn&#8217;t using them, and how I&#8217;m able to pass username and password to rug .. Or not, after looking through the Novell community, I found <a href="https://bugzilla.novell.com/show_bug.cgi?id=204741">bug 204741</a> in Novell&#8217;s bugzilla. Guess, what .. It&#8217;s marked WONTFIX (or whatever, I can&#8217;t view the duplicate bug).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/08/15/debugging-rug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SUSE Linux Enterprise Server 10 on VMware ESX (continued)</title>
		<link>http://blog.barfoo.org/2008/07/27/suse-linux-enterprise-server-10-on-vmware-esx-continued/</link>
		<comments>http://blog.barfoo.org/2008/07/27/suse-linux-enterprise-server-10-on-vmware-esx-continued/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 17:28:58 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Novell]]></category>
		<category><![CDATA[SLES10]]></category>
		<category><![CDATA[VMware ESX]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=711</guid>
		<description><![CDATA[Well, after some searching today (we applied the VMware Update 2 today, thus the VMware Tools update too), I finally found out what is causing that problem. Though the problem seems to be not limited to virtual systems alone, I just browsed through this Novell Forum thread which pretty much describes my problem. I found]]></description>
			<content:encoded><![CDATA[<p>Well, after some searching today (we applied the VMware Update 2 today, thus the VMware Tools update too), I finally found out what is causing <a href="http://blog.barfoo.org/2008/07/22/suse-linux-enterprise-server-10-on-vmware-esx/">that problem</a>.</p>
<p>Though the problem seems to be not limited to virtual systems alone, I just browsed through this <a href="http://forums.novell.com/novell-product-support-forums/suse-linux-enterprise-desktop-sled/sled-updates/336899-kernel-update-07182008-a.html#post1600495">Novell Forum thread</a> which pretty much describes my problem. I found the same error in the VM&#8217;s I tried to mount a CD image.</p>
<p><code>kernel: ide-cd: weird block size 524288<br />
kernel: ide-cd: default to 2kb block size</code></p>
<p>Only difference between my behaviour and the one described, is that the virtual maschine is switched off immediately after you try to mount a CD image.</p>
<p>Now, <a href="http://forums.novell.com/novell-product-support-forums/suse-linux-enterprise-desktop-sled/sled-updates/336899-kernel-update-07182008-a-4.html#post1605141">this guy</a> is saying Novell is working on it &#8230; But you&#8217;re gonna have to ask the question, why in gods name did such an update get through QA ? Or ain&#8217;t there no QA for updates ? <strong>*shrug*</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/07/27/suse-linux-enterprise-server-10-on-vmware-esx-continued/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SLES-9 (once again)</title>
		<link>http://blog.barfoo.org/2007/03/08/sles-9-once-again/</link>
		<comments>http://blog.barfoo.org/2007/03/08/sles-9-once-again/#comments</comments>
		<pubDate>Thu, 08 Mar 2007 18:00:43 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[haywire]]></category>
		<category><![CDATA[Novell]]></category>
		<category><![CDATA[RPM]]></category>
		<category><![CDATA[SLES9]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blogs.barfoo.org/phreak/2007/03/08/sles-9-once-again/</guid>
		<description><![CDATA[OK, so today was the highlight of the week &#8230; We updated apache2 on Tuesday (yeah, that&#8217;s still 2.0.49, so if you have some exploits &#8211; try them ) and now out of the sudden we have major performance issues. We looked nearly the whole forenoon for a reason, *why* the frackin&#8217; apache was using]]></description>
			<content:encoded><![CDATA[<p>OK, so today was the highlight of the week &#8230; We updated apache2 on Tuesday (yeah, that&#8217;s still 2.0.49, so if you have some exploits &#8211; try them <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ) and now out of the sudden we have major performance issues. We looked nearly the whole forenoon for a reason, <strong>*why*</strong> the frackin&#8217; apache was using 236% of the CPU&#8217;s.</p>
<p>In the afternoon, when my co-worker decided to go home (that was ~1500), I decided to revert back to the old patch level. But that isn&#8217;t as easy as you think (at least on SLES). The only thing I wanted to do, was something like this:</p>
<pre lang="bash">$ emerge '<apache2-2.0.49-r63' '<apache2-mod_php4-2.0.49-r63' '<apache2-mpm_prefork-2.0.49-r63'</pre>
<p>Looks like SuSE (or Novell who bought SuSE sometime 3 or 4 years ago) doesn't consider reverting to an older patch level. Which means I would have to remove apache2, apache2-prefork, apache2-mod_php4; fetch the basic RPMS from our FTP server (which sadly forbids directory listing, so I can't exactly look for the original RPMS) and I tried to blindly to fetch them.</p>
<p>Foooked. Didn't work .. now I cron'ed the POS to restart every half an hour, so at least we have <strong>*some*</strong> solution. Will see about reverting the the last patch tomorrow again, hopefully I'll find the original RPMS.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2007/03/08/sles-9-once-again/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bitching</title>
		<link>http://blog.barfoo.org/2006/03/10/bitching/</link>
		<comments>http://blog.barfoo.org/2006/03/10/bitching/#comments</comments>
		<pubDate>Fri, 10 Mar 2006 19:57:11 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Novell]]></category>
		<category><![CDATA[SLES9]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blogs.barfoo.org/phreak/?p=63</guid>
		<description><![CDATA[Once again, I&#8217;m compelled to play (other call it administering ) with our TYPO3 cluster (which is sadly running SLES). One thing I just learned about SLES (for the ones curious, its Novell&#8217;s SuSE Linux Enterprise Server and yes, it suffers the same pain as SuSE/openSuSE). They split one single config file (at least the]]></description>
			<content:encoded><![CDATA[<p>Once again, I&#8217;m compelled to play (other call it administering <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ) with our TYPO3 cluster (which is sadly running SLES).</p>
<p>One thing I just learned about SLES (for the ones curious, its <a href="http://www.novell.com/products/server/">Novell&#8217;s SuSE Linux Enterprise Server</a> and yes, it suffers the same pain as SuSE/openSuSE). They split one single config file (at least the apache2 one) into 9 (or more) different files.</p>
<p>Another thing is, for what the hell does a simple LAMP need a full blown Xorg w/ KDE installed ?</p>
<p>Good lord! Praise the USE-flags (f.e. <strong>-X</strong> or <strong>-kde</strong>)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2006/03/10/bitching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
