<?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>Linux Czar</title>
	<atom:link href="http://linuxczar.net/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://linuxczar.net/wordpress</link>
	<description>Talk of Linux and Technology carefully hidden inside the academic world.</description>
	<lastBuildDate>Tue, 01 Dec 2009 19:31:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RHEL 6 MIA?</title>
		<link>http://linuxczar.net/wordpress/archives/204</link>
		<comments>http://linuxczar.net/wordpress/archives/204#comments</comments>
		<pubDate>Tue, 01 Dec 2009 19:31:24 +0000</pubDate>
		<dc:creator>jjneely</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://linuxczar.net/wordpress/?p=204</guid>
		<description><![CDATA[Well, RHEL 6 is not MIA so to speak.  However, I don&#8217;t think I&#8217;m the only one that&#8217;s been very frustrated with the time it is taking for Red Hat to produce a major update for RHEL.  5 is a stable server platform, but is now very painful to run LAMP stuff with or really [...]]]></description>
			<content:encoded><![CDATA[<p>Well, RHEL 6 is not MIA so to speak.  However, I don&#8217;t think I&#8217;m the only one that&#8217;s been very frustrated with the time it is taking for Red Hat to produce a major update for RHEL.  5 is a stable server platform, but is now very painful to run LAMP stuff with or really anything remotely modern.  2006 technology in a 2010 world is painful.</p>
<p>For folks that read LWN there is a <a href="http://lwn.net/Articles/364353/">good article</a> about Fedora 12 that has some rumors about RHEL 6.  Some rumors are more believable than others, however.  Peering deeply into Red Hat&#8217;s Bugzilla I do see quite a lot of activity with RHEL 6 internal spins and testing.  So the signs are picking up.  I imagine a public beta might appear this spring.  The LWN article has a comment that mentions a public beta release at this year&#8217;s Red Hat Summit in June.  I&#8217;m really hoping for sooner than that, but only time will tell at this point.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxczar.net/wordpress/archives/204/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 12 Notes</title>
		<link>http://linuxczar.net/wordpress/archives/201</link>
		<comments>http://linuxczar.net/wordpress/archives/201#comments</comments>
		<pubDate>Thu, 19 Nov 2009 19:00:22 +0000</pubDate>
		<dc:creator>jjneely</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://linuxczar.net/wordpress/?p=201</guid>
		<description><![CDATA[Wow&#8230;Fedora 12 is causing quite a stir on the lists.  One of them is the lack of a configuration tool to enable focus follows mouse in the default Gnome desktop.  Currently, the solution is to install the &#8220;control-center-extra&#8221; package.  However, I&#8217;m betting $5 that in the future you&#8217;ll have to know what GConf bit to [...]]]></description>
			<content:encoded><![CDATA[<p>Wow&#8230;Fedora 12 is causing quite a stir on the lists.  One of them is the lack of a configuration tool to enable focus follows mouse in the default Gnome desktop.  Currently, the solution is to install the &#8220;control-center-extra&#8221; package.  However, I&#8217;m betting $5 that in the future you&#8217;ll have to know what GConf bit to twirl.  Why is it I have to keep a list of GConf twirlage?</p>
<pre>gconftool-2 -g /apps/metacity/general/focus_mode</pre>
]]></content:encoded>
			<wfw:commentRss>http://linuxczar.net/wordpress/archives/201/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bcf2: Controlling Groups</title>
		<link>http://linuxczar.net/wordpress/archives/196</link>
		<comments>http://linuxczar.net/wordpress/archives/196#comments</comments>
		<pubDate>Tue, 22 Sep 2009 00:51:10 +0000</pubDate>
		<dc:creator>jjneely</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[bcfg2]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://linuxczar.net/wordpress/?p=196</guid>
		<description><![CDATA[I think, in my environment, controlling what groups a machine is in relative to Bcfg2 will be one of the most challenging parts of deploying this configuration management system.  So many admins in so many departments all with legitimate need to configure servers and workstations.  Fortunately, Bcfg2&#8217;s Probes can help make this easier.
If you create [...]]]></description>
			<content:encoded><![CDATA[<p>I think, in my environment, controlling what groups a machine is in relative to <a title="Bcfg2" href="http://trac.mcs.anl.gov/projects/bcfg2">Bcfg2</a> will be one of the most challenging parts of deploying this configuration management system.  So many admins in so many departments all with legitimate need to configure servers and workstations.  Fortunately, Bcfg2&#8217;s Probes can help make this easier.</p>
<p>If you create a probe that outputs lines of text that look like</p>
<pre>group: foobar</pre>
<p>this will make the Bcfg2 client a member of the group &#8220;foobar.&#8221;  In fact, I&#8217;ve already discovered an interesting probe that will help in figuring out the basics for each machine.  Its called <a title="Whatami" href="http://trac.mcs.anl.gov/projects/whatami">whatami</a>.  It outputs useful groups like:</p>
<pre>group: Linux
group: x86_64
group: rhel
group: 5</pre>
<p>It uses parts of the LSB and other system information to figure out what Linux distribution, version, arch, etc. of the machine.</p>
<p>Perhaps, an easy way to help get machines in the right group is to have a local file on disk that has an initial set of groups that the local administrator can modify if needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxczar.net/wordpress/archives/196/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bcfg2: Enforcing a file&#8217;s existance, not its content</title>
		<link>http://linuxczar.net/wordpress/archives/193</link>
		<comments>http://linuxczar.net/wordpress/archives/193#comments</comments>
		<pubDate>Mon, 21 Sep 2009 00:57:42 +0000</pubDate>
		<dc:creator>jjneely</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[bcfg2]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://linuxczar.net/wordpress/?p=193</guid>
		<description><![CDATA[I&#8217;m a fan of pam_listuser, so all my Linux machines have a couple files that list important user IDs that are referenced during the login process.  While I&#8217;d like the generation of these files in Bcfg2 propper, currently they are generated by several other means.  But in any case, they must exist, even if empty, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a fan of pam_listuser, so all my Linux machines have a couple files that list important user IDs that are referenced during the login process.  While I&#8217;d like the generation of these files in Bcfg2 propper, currently they are generated by several other means.  But in any case, they must exist, even if empty, or pam_listfile will abort the authorization process.  I&#8217;ve seen this question asked about several configuration management systems.  How do you enforce a file&#8217;s existance but not its content?</p>
<p>In Bcfg2 you&#8217;ll need the &#8216;Probes&#8217; and &#8216;TGenshi&#8217; plugins turned on.  (You can use the TCheetah plugin instead, but this example will use TGenshi.)  Create a probe to return the output of the file or simply exit successfully if the file is not present.</p>
<p><code>#!/bin/bash<br />
FILE=/etc/hosers.local<br />
[ -f $FILE ] || exit 0<br />
cat $FILE<br />
exit 0</code></p>
<p>Next, in the TGenshi directory, setup a template to generate that file.  We simply use the output of the probe:</p>
<p><code>{# We just want to ensure this file exists #}\<br />
${metadata.Probes["hosers"]}</code></p>
<p>Run the Bcfg2 client on a test host and it will create the file if it does not exist.  If it does exist its content will be preserved.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxczar.net/wordpress/archives/193/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding Love with GNU Screen</title>
		<link>http://linuxczar.net/wordpress/archives/191</link>
		<comments>http://linuxczar.net/wordpress/archives/191#comments</comments>
		<pubDate>Fri, 18 Sep 2009 03:06:48 +0000</pubDate>
		<dc:creator>jjneely</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://linuxczar.net/wordpress/?p=191</guid>
		<description><![CDATA[I&#8217;ve used GNU Screen for more years than I can count.  As I try to find some better console jabber clients (I&#8217;m not sure Bitlbee and I are cut out for each other) I started playing with my screen configuration.
Ever wanted screen to tell you if there was activity on another window in the background?  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve used GNU Screen for more years than I can count.  As I try to find some better console jabber clients (I&#8217;m not sure <a href="http://www.bitlbee.org/">Bitlbee</a> and I are cut out for each other) I started playing with my screen configuration.</p>
<p>Ever wanted screen to tell you if there was activity on another window in the background?  Have you wanted that information always in the status line not just flashed up for 5 seconds and then gone?  Stick this in your ~/.screenrc file:</p>
<pre>msgwait 30
defmonitor on
hardstatus on
hardstatus alwayslastline "%-Lw%{= BW}%50&gt;%n%f* %t%{-}%+Lw%&lt; %=[%c, %D, %d/%m/%y]"</pre>
<p>Don&#8217;t want to restart screen?  Type:</p>
<pre>C-a :source $HOME/.screenrc</pre>
<p>The &#8220;defmonitor on&#8221; option will cause screen to put a &#8216;@&#8217; in the status line next to each window name that has had activity.  You can toggle the monitoring on and off per window with C-a M.</p>
<p>I found the status line here:</p>
<p><a href="http://www.redbrick.dcu.ie/~svan/configs/screenrc">http://www.redbrick.dcu.ie/~svan/configs/screenrc</a></p>
<p>Of course, the manual is always your friend:</p>
<p><a href="http://www.gnu.org/software/screen/manual">http://www.gnu.org/software/screen/manual</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxczar.net/wordpress/archives/191/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bcfg2 Packages for pre5</title>
		<link>http://linuxczar.net/wordpress/archives/187</link>
		<comments>http://linuxczar.net/wordpress/archives/187#comments</comments>
		<pubDate>Wed, 02 Sep 2009 17:52:15 +0000</pubDate>
		<dc:creator>jjneely</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[bcfg2]]></category>

		<guid isPermaLink="false">http://linuxczar.net/wordpress/archives/187</guid>
		<description><![CDATA[I&#8217;ve build more Bcfg2 packages of 1.0 pre5 and made them available.  RHEL 5 / CentOS 5 and Fedora 11.
http://linuxczar.net/code/bcfg2/1.0pre5/
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve build more Bcfg2 packages of 1.0 pre5 and made them available.  RHEL 5 / CentOS 5 and Fedora 11.</p>
<p><a href="http://linuxczar.net/code/bcfg2/1.0pre5/">http://linuxczar.net/code/bcfg2/1.0pre5/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxczar.net/wordpress/archives/187/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bitlbee</title>
		<link>http://linuxczar.net/wordpress/archives/185</link>
		<comments>http://linuxczar.net/wordpress/archives/185#comments</comments>
		<pubDate>Sat, 22 Aug 2009 17:58:33 +0000</pubDate>
		<dc:creator>jjneely</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://linuxczar.net/wordpress/?p=185</guid>
		<description><![CDATA[The power of openness includes unification.  I have finally setup Bitlbee to unify all of my IM clients (mostly Jabber) and IRC.  All running using irssi within screen.  I&#8217;m never without my IMs wherever I go.
I did have a couple issues with the 1.2.3-1 bitlbee package un EPEL.  It segfaults connecting to jabber servers.  However, [...]]]></description>
			<content:encoded><![CDATA[<p>The power of openness includes unification.  I have finally setup <a href="http://www.bitlbee.org">Bitlbee</a> to unify all of my IM clients (mostly Jabber) and IRC.  All running using irssi within screen.  I&#8217;m never without my IMs wherever I go.</p>
<p>I did have a couple issues with the 1.2.3-1 bitlbee package un EPEL.  It segfaults connecting to jabber servers.  However, this has been fixed in the forth coming 1.2.3-4 package.  See bug <a href="https://bugzilla.redhat.com/show_bug.cgi?id=501786">501786</a>.</p>
<p>Next, Bitlbee would not connect to jabber chats that require a password.  I found this issue fixed in bitlbee&#8217;s ticket tracking system.  Ticket <a href="http://bugs.bitlbee.org/bitlbee/ticket/397">397</a>.</p>
<p>Once I had those issues patched I have a very functional bitlbee setup. Here is my source package.</p>
<ul>
<li><a href="/code/bitlbee-1.2.3-5.src.rpm">bitlbee-1.2.3-5.src.rpm</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://linuxczar.net/wordpress/archives/185/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IT Quotes</title>
		<link>http://linuxczar.net/wordpress/archives/183</link>
		<comments>http://linuxczar.net/wordpress/archives/183#comments</comments>
		<pubDate>Fri, 14 Aug 2009 04:02:08 +0000</pubDate>
		<dc:creator>jjneely</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[quotes]]></category>

		<guid isPermaLink="false">http://linuxczar.net/wordpress/archives/183</guid>
		<description><![CDATA[You either do your job well or you do your job continuously.
]]></description>
			<content:encoded><![CDATA[<p>You either do your job well or you do your job continuously.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxczar.net/wordpress/archives/183/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated Expect Script to Sign RPMs</title>
		<link>http://linuxczar.net/wordpress/archives/173</link>
		<comments>http://linuxczar.net/wordpress/archives/173#comments</comments>
		<pubDate>Thu, 13 Aug 2009 04:21:15 +0000</pubDate>
		<dc:creator>jjneely</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://linuxczar.net/wordpress/?p=173</guid>
		<description><![CDATA[One of the most &#8220;interesting&#8221; things to do in a RPM package build system is handle (or NOT handle) automated signing of built packages.  RPM itself does not make this easy.  The key, however, is to redefine the
%__gpg_check_password_cmd
(the command run to validate the password you give RPM during signing) and the
%__gpg_sign_cmd
(the command used to actually [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most &#8220;interesting&#8221; things to do in a RPM package build system is handle (or NOT handle) automated signing of built packages.  RPM itself does not make this easy.  The key, however, is to redefine the</p>
<p style="padding-left: 30px;">%__gpg_check_password_cmd</p>
<p>(the command run to validate the password you give RPM during signing) and the</p>
<p style="padding-left: 30px;">%__gpg_sign_cmd</p>
<p>(the command used to actually sign packages) macros.  After that, you just need to deal with RPM&#8217;s usage of getpass(3) to grab the password from the controlling tty.</p>
<p>As much as we love Tcl, the expect tool works the best for this provided you can incant enough RPM macro foo into it.  I&#8217;ve written a messy expect script that takes several arguments to automatically sign packages.  The first is the GPG key ID which I normally use an email address in angle brackets.  The second argument is a file name that contains the pass phrase.  The rest of the arguments are the RPM packages to sign.</p>
<p style="padding-left: 30px;"><a title="Expect script" href="http://linuxczar.net/code/autosign.exp">http://linuxczar.net/code/autosign.exp</a></p>
<p>Excepting patches.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxczar.net/wordpress/archives/173/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bcfg2 Pre4</title>
		<link>http://linuxczar.net/wordpress/archives/170</link>
		<comments>http://linuxczar.net/wordpress/archives/170#comments</comments>
		<pubDate>Fri, 26 Jun 2009 19:18:30 +0000</pubDate>
		<dc:creator>jjneely</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[bcfg2]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://linuxczar.net/wordpress/?p=170</guid>
		<description><![CDATA[Several folks have asked me for 1.0.0 pre4 packages of Bcfg2.  So here are my builds:
http://linuxczar.net/code/bcfg2/
You can find the specs and other package bits here:
https://svn.linux.ncsu.edu/svn/clspackages/rpms/bcfg2/
]]></description>
			<content:encoded><![CDATA[<p>Several folks have asked me for 1.0.0 pre4 packages of Bcfg2.  So here are my builds:</p>
<p><a href="http://linuxczar.net/code/bcfg2/">http://linuxczar.net/code/bcfg2/</a></p>
<p>You can find the specs and other package bits here:</p>
<p><a href="https://svn.linux.ncsu.edu/svn/clspackages/rpms/bcfg2/">https://svn.linux.ncsu.edu/svn/clspackages/rpms/bcfg2/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxczar.net/wordpress/archives/170/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
