<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>The BFC Computing Weblog: Category Linux</title>
    <link>http://blog.bfccomputing.com/articles/category/linux</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>My God, It's Full of Source!</description>
    <item>
      <title>Fedora 10 GPG Key</title>
      <description>&lt;p&gt;To verify the Fedora 10 package downloads, you need the new key they're signing the Fedora 10 packages with, but it's only included in the -release rpm which you don't want to install on some other machines, say your repository mirror.&lt;/p&gt;

&lt;p&gt;This works:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;rpm --import 'http://pgp.surfnet.nl:11371/pks/lookup?op=get&amp;amp;search=0xBF226FCC4EBFC273'&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I wonder why this is different than the -newkey key.  Anyway, don't take my word for it, check the signatures to prove it for yourself.&lt;/p&gt;</description>
      <pubDate>Thu, 04 Dec 2008 03:21:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:735888cb-1676-4b47-906e-c157d5c36d3d</guid>
      <author>Bill McGonigle</author>
      <link>http://blog.bfccomputing.com/articles/2008/12/04/fedora-10-gpg-key</link>
      <category>Web</category>
      <category>Internet</category>
      <category>Linux</category>
      <category>Security</category>
      <trackback:ping>http://blog.bfccomputing.com/articles/trackback/4798</trackback:ping>
    </item>
    <item>
      <title>Snow Leopard Comes in the Dark and Kills Your Tiger</title>
      <description>&lt;p&gt;Apple's Snow Leopard (10.6) operating system is due out in the next quarter according to slides shown recently at the LISA conference.  It adds a small handful of features but it's mainly an architecture, performance, and bugfix release.  Leopard (10.5) is pretty buggy and Apple readily admits it's not what an OS should be.  So they're coming out with an update less than a year and a half since the last one, which is by most counts what Leopard should have been.  This isn't really disputed, even Apple's name isn't for a new cat, this is the one with all the 'marks cleaned off'.&lt;/p&gt;

&lt;p&gt;OK, so it's great that Apple's getting everything squared away so quickly, right?  Yeah, it is if you've got recent hardware.&lt;/p&gt;

&lt;p&gt;But what if you have a computer that was purchased in, say, the first half of 2006?  It's going to have a PowerPC processor in it, and Snow Leopard doesn't support PowerPC.  OK, so then you can run Leopard, which does support PowerPC.  But, wait, Leopard is buggy, that's why they're fixing it.&lt;/p&gt;

&lt;p&gt;OK, so you can run Tiger (10.4).  Well, no, if you're going to be connected to a network you'd be foolish to do that; Apple only issues security updates for the current and previous versions of its OS, and with 10.6, 10.4 will go by the wayside.  Within months there will be public exploits for your 10.4 machine available and the time to your machine being compromised is just a roll of the dice.&lt;/p&gt;

&lt;p&gt;"Wait," you may be saying, "my machine is less than three years old and it's now unsupported?"  "It's still under AppleCare warranty and I can't even get security updates?"&lt;/p&gt;

&lt;p&gt;Yep, and there we see the tactical brilliance behind splitting the Leopard and Snow Leopard releases - Apple gets to book its revenue early on a not-ready OS, beat Microsoft to the market, and save a ton of money really only supporting one majoor version of its operating system.  So, this doesn't really work out well for you?  Just buy a new Mac, they're probably not going to do this again in three more years.  Right?&lt;/p&gt;

&lt;p&gt;This may be a dangerous gamble for Apple in a recessionary economic period, so perhaps they'll do the right thing and simultaneously keep their customer base.  If not, Ubuntu 8/PPC isn't eligible for a commercial support contract but it'll run on your Mac and its security updates will be current for another two years.  At that point your machine will be five years old and you can keep it around with debian or netbsd or if we're coming out of the downturn get yourself a brand new machine.  By then you'll be so used to Ubuntu you'll have broad purchase options.&lt;/p&gt;</description>
      <pubDate>Fri, 21 Nov 2008 03:04:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:4044c951-ca85-497b-9290-9dc7413e6a20</guid>
      <author>Bill McGonigle</author>
      <link>http://blog.bfccomputing.com/articles/2008/11/21/snow-leopard-comes-in-the-dark-and-kills-your-tiger</link>
      <category>Hardware</category>
      <category>Business</category>
      <category>Development</category>
      <category>Open Source</category>
      <category>Linux</category>
      <category>Mac</category>
      <trackback:ping>http://blog.bfccomputing.com/articles/trackback/4797</trackback:ping>
    </item>
    <item>
      <title>My Last Mac</title>
      <description>&lt;p&gt;From today&amp;#8217;s new Macbook announcement:&lt;/p&gt;

&lt;blockquote&gt;&lt;pre&gt;11:01AM Q: Concern about the glossy screens. Are you going to offer another option?
A: Steve: We're going all glass -- we won't offer another version. 
Phil: You offset the reflection by the brightness, and consumers love it. One of the great things about a notebook is you can turn it however you want!&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;I&amp;#8217;ve used a Mac laptop since 1992 as my primary machine and often find myself using it in situations where I can&amp;#8217;t actually rearrange the furniture or move the windows (Phil apparently lives in an opaque bubble).  So I&amp;#8217;ve always ordered a Macbook Pro with a matte screen, because my brain simply can&amp;#8217;t see through the glare.  Some people can, my eyes don&amp;#8217;t work that way.&lt;/p&gt;

&lt;p&gt;&lt;center&gt;&lt;img src="/files/macbook_glare.jpg"&gt;
&lt;br&gt;&lt;small&gt;Yeah, their marketing images actually&lt;br&gt;show the reflected keyboard&lt;/small&gt;&lt;/center&gt;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;
So, today marks the end of availability of new Macs I can use.  Since OSX doesn&amp;#8217;t run on other hardware (securely) this means I can&amp;#8217;t plan on using OSX into the future.  I&amp;#8217;ll keep a machine around for media work in the short term, but it&amp;#8217;s obvious I need to get as much of my work moved over to Linux as possible if I&amp;#8217;m going to have hardware that&amp;#8217;s current technology.  &lt;/p&gt;

&lt;p&gt;With Apple&amp;#8217;s primary focus on the iPod/Phone market, its draconian tactics there, and its inability to deliver a stable next OS release this is merely the last straw (if it were the only problem I&amp;#8217;d consider investing in custom coatings, etc.)  Thanks, Apple, it&amp;#8217;s been a fun 16 years.&lt;/p&gt;

&lt;p&gt;Update: &lt;a href="http://www.macworld.com/article/136061/2008/10/matte_laptops.html"&gt;Not&lt;/a&gt; &lt;a href="http://forums.macworld.com/message/670217#670217"&gt;just&lt;/a&gt; &lt;a href="http://gallery.me.com/j.holtslander/100067/MacBook_gloss2/web.jpg?ver=12241019700001"&gt;me&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Tue, 14 Oct 2008 14:29:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:8f4466f9-25bb-415d-a04c-bda3952cd38c</guid>
      <author>Bill McGonigle</author>
      <link>http://blog.bfccomputing.com/articles/2008/10/14/my-last-mac</link>
      <category>Business</category>
      <category>BFC Computing</category>
      <category>Linux</category>
      <category>Mac</category>
      <trackback:ping>http://blog.bfccomputing.com/articles/trackback/4792</trackback:ping>
    </item>
    <item>
      <title>Fedora Strands Xen Users</title>
      <description>&lt;p&gt;From &lt;a href="http://fedoraproject.org/wiki/FWN/Issue146"&gt;Fedora Weekly News&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;Daniel P. Berrange laid it out there. &amp;#8220;There is pretty much zero chance that Fedora 10 will include a Xen Dom0 host. While upstream Xen developers are making good progress on porting Dom0 to paravirt_ops, there is simply too little time for this to be ready for Fedora 10. So if you need to use Fedora 10 as a host, then KVM is your only viable option at this time. If you can wait for Fedora 11 (or use RHEL-5 / CentOS-5) then Xen may be an option for you.&amp;#8221;&lt;/blockquote&gt;

&lt;p&gt;The basic issue is that the the virtualization groups are getting together on a standard kernel interface, &lt;a href="http://lwn.net/Articles/194543/"&gt;paravirt_ops&lt;/a&gt;, and the Xen folks aren&amp;#8217;t ready yet.  Fedora 10 has a hard deadline, and the Xen group isn&amp;#8217;t likely to make it in time.&lt;/p&gt;

&lt;p&gt;Why Fedora 10 is important, is that Fedora 8 will stop getting security updates once Fedora 10 is released, per policy.  When Fedora 9 came out, the Fedora Project told Xen users to hold off on Fedora 9, that Fedora 10 would have the Xen pieces.  Had it told users at that time stop using Fedora they might have had a reasonable opportunity to plan for a chance, but at this point they have only weeks to get their systems off onto another operating system.&lt;/p&gt;

&lt;p&gt;While RHEL/CentOS have always been billed as the &amp;#8216;stable&amp;#8217; platform, many community-minded systems administrators run Fedora as a way to help find problems and improve the codebase.  In return, they get more up-to-date packages and an expectation of being able to upgrade to new releases as they&amp;#8217;re available.&lt;/p&gt;

&lt;p&gt;Now, for the first time I can recall, Fedora has dropped its end of the bargain, for any folks who are using Xen virtualization.  I know I don&amp;#8217;t deploy any new servers these days that don&amp;#8217;t use virtualization, and I doubt I&amp;#8217;m highly unusual in that regard.  Fedora thus stands to lose a great number of users, i.e. testers, trust and goodwill.  After all, if one of the two major kernel flavors can get the axe, just about anything else can too.  It raises the question of what Fedora provides, as a distribution.  Sure, we understand that the upstream kernel isn&amp;#8217;t ready, but is Fedora willing to merely have its feature set dictated by outside parties?  This is as much a function of Fedora&amp;#8217;s release-by-date rather than release-when-ready policy.  They want to release approximately every six months, come hell or high water, and while momentum is desirable in a vacuum, sometimes the community might deserve some consideration as well.&lt;/p&gt;

&lt;p&gt;The current expectation is that the Dom0 bits will be in kernel-2.6.28.  By all expectations, this release will come about 90 days after 2.6.27 is released, or approximately mid-January, if not sooner.  One would hope since the Xen kernel no longer requires a separate RPM package that when Fedora adopts 2.6.28 as its primary kernel (early Feb &amp;#8216;09, perhaps) that Xen Dom0 support will re-appear.&lt;/p&gt;

&lt;p&gt;So, to arrive at a detente, the most practical approach would be to extend Fedora 8 security updates until such a time as a Xen-Dom0 kernel is integrated into Fedora.  Without argument, this will consume precious development hours among the Fedora development community.  And Fedora can legitimately argue that it&amp;#8217;s &amp;#8216;for experimental use only&amp;#8217; and plausibly get away with not doing so.  However, the practical reality of choosing this path is to lose community-sourced testing hours orders of magnitude larger than would be saved by continuing the updates.  And since RHEL 6 will require a stable Xen base for its release, Fedora 10 with Xen is going to be very important to have well shaken-out for &lt;a href="http://quote.yahoo.com/q?s=RHT"&gt;RHT&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Mon, 06 Oct 2008 12:39:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:4564a2c7-ee74-476c-bc9d-5d5e9348e3a4</guid>
      <author>Bill McGonigle</author>
      <link>http://blog.bfccomputing.com/articles/2008/10/06/fedora-strands-xen-users</link>
      <category>Development</category>
      <category>Open Source</category>
      <category>Linux</category>
      <trackback:ping>http://blog.bfccomputing.com/articles/trackback/4787</trackback:ping>
    </item>
    <item>
      <title>Package Cleanup - Leaves and Orphans</title>
      <description>&lt;p&gt;On an RPM-based system, yum-utils provides a utility called &amp;#8216;package-cleanup&amp;#8217;.  It has two useful options:&lt;/p&gt;

&lt;p&gt;&amp;#8211;orphans shows RPM packages that do not belong to any currently-configured repositories, and:&lt;/p&gt;

&lt;p&gt;&amp;#8211;leaves shows RPM packages for which there are no dependencies; that is removing them won&amp;#8217;t trigger the removal of other packages.  By default it&amp;#8217;s concerned with libraries, but &amp;#8211;all removes that restriction.&lt;/p&gt;

&lt;p&gt;So, ideally you&amp;#8217;d like to run:&lt;/p&gt;

&lt;p&gt;package-cleanup &amp;#8211;orphans &amp;#8211;leaves &amp;#8211;all&lt;/p&gt;

&lt;p&gt;to get a list of all the packages you might want to consider for cleanup, say before or after an upgrade.  But package-cleanup doesn&amp;#8217;t support that.&lt;/p&gt;

&lt;p&gt;So, here&amp;#8217;s a little perl script, called &lt;code&gt;leavesorphans.pl&lt;/code&gt; on my system that will run package-cleanup twice and print for you the intersection of the two sets:&lt;/p&gt;

&lt;blockquote&gt;&lt;pre&gt;#!/usr/bin/perl -w
use strict;
use warnings FATAL=&gt;'all';

use Data::Dumper;

my @orphans = `package-cleanup --orphans`;
my @leaves = `package-cleanup --leaves --all`;

my (%orphans,%leaves);
foreach my $orphan (@orphans) {
    $orphans{$orphan} = 1;
}
foreach my $leaf (@leaves) {
    $leaves{$leaf} = 1;
}

my (@matches);
foreach my $orphan (keys %orphans) {
    foreach my $leaf (keys %leaves) {
        if ($orphan eq $leaf) {
            push (@matches,$orphan);
            delete $leaves{$leaf};
        }
    }
}


foreach my $match (@matches) {
    if ($match !~  m/Setting up yum/) {
        print $match;
    }
}

&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;I recently ran it and found a few packages that were lingering on my system since Fedora Core 4, just wasting system resources.   If all of your proper packages belong to a repository you can simply pipe the output of the command to &lt;code&gt;xargs rpm -e&lt;/code&gt;.  I&amp;#8217;m not quite that slick, so I manually reviewed the list and kept the packages I had installed by hand.&lt;/p&gt;</description>
      <pubDate>Tue, 30 Sep 2008 14:12:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:9e11f420-0fbd-420a-8354-da0056daaa02</guid>
      <author>Bill McGonigle</author>
      <link>http://blog.bfccomputing.com/articles/2008/09/30/package-cleanup-leaves-and-orphans</link>
      <category>BFC Computing</category>
      <category>Development</category>
      <category>Open Source</category>
      <category>Linux</category>
      <category>sysadmin</category>
      <trackback:ping>http://blog.bfccomputing.com/articles/trackback/4785</trackback:ping>
    </item>
    <item>
      <title>Fedora, Cobbler &amp;amp; Newkey</title>
      <description>&lt;p&gt;Folks running their own local yum repositories using cobbler will have to add new repos to get continued updates, the ones signed with the new &lt;a href="https://fedoraproject.org/wiki/New_signing_key"&gt;signing key&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This isn&amp;#8217;t hard, simply pick your mirror for &lt;a href="http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f8.newkey&amp;amp;arch=i386"&gt;f8&lt;/a&gt; or &lt;a href="http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9.newkey&amp;amp;arch=i386"&gt;f9&lt;/a&gt; and add it to cobbler like the following:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cobbler repo add --mirror=http://mirror.anl.gov/pub/fedora/linux/updates/8/i386.newkey/ --name=f8-i386-updates.newkey
cobbler repo add --mirror=http://mirror.anl.gov/pub/fedora/linux/updates/9/i386.newkey/ --name=f9-i386-updates.newkey
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and then edit your fedora-updates-newkey.repo file to point to your local software distribution host.  Assuming you have a cron job installed cobbler will start your downloads when it next syncs.&lt;/p&gt;

&lt;p&gt;Remember, this will get you 8-ish GB of updates per release, so make sure you need to do this.  Assuming you do, the Fedora Project will be updating removal of the old signing key automatically, so get this done before they do that or your nightly security updates may stop coming in.&lt;/p&gt;</description>
      <pubDate>Thu, 18 Sep 2008 22:11:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:5bc85f6e-22f0-4888-97f6-c586eb71ba9d</guid>
      <author>Bill McGonigle</author>
      <link>http://blog.bfccomputing.com/articles/2008/09/18/fedora-cobbler-newkey</link>
      <category>Internet</category>
      <category>Linux</category>
      <trackback:ping>http://blog.bfccomputing.com/articles/trackback/4784</trackback:ping>
    </item>
    <item>
      <title>Anti-Virus on Voting Machines</title>
      <description>&lt;p&gt;There&amp;#8217;s been much made of the revelation that Diebold voting machines run an install of McAfee Anti-Virus, and that it&amp;#8217;s caused trouble with the voting software.&lt;/p&gt;

&lt;p&gt;The arguments against it typically boil down to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your voting machines shouldn&amp;#8217;t be use for anything else&lt;/li&gt;
&lt;li&gt;Your voting machines should be secured against anybody installing software on it&lt;/li&gt;
&lt;li&gt;You can&amp;#8217;t verify the operation of MAV so it could possibly tamper with votes&lt;/li&gt;
&lt;li&gt;You should be running an operating system which is not so easily infected&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those arguments all have merit, but skip the fundamentals - the software image on a voting machine should not be running on read/write media, that is hard drives.  If that basic criteria isn&amp;#8217;t met, AV software might actually be a good idea, but missing the fundamentals is no excuse for dirty hacks.&lt;/p&gt;

&lt;p&gt;I build my first appliance computer that could run from a CD in a CD-&lt;b&gt;ROM&lt;/b&gt; drive in 2002.  It&amp;#8217;s neither new nor a difficult concept.  When you need things to be secure, in that case under HIPAA regs, in this case for votes, you mount your media device (hard drive, flash memory, etc) with the &amp;#8216;noexec&amp;#8217; flag, and then no software installed on the read/write media can be run from that media.  Since you can&amp;#8217;t write to the CD, software can&amp;#8217;t be run from there either.  You provide a stripped down OS image to make doing any more than the minimum very difficult, certainly requiring physical access to the machine.&lt;/p&gt;

&lt;p&gt;This isn&amp;#8217;t to say your machine shouldn&amp;#8217;t be kept secure - of course it should, and the BIOS needs to be correctly configured (many of you know the security problems with certain BIOS configurations) - but read-only media and a good Q/A process obviates the need for anti-virus software.  Certainly some software selection choices can make this difficult, but any good architecture starts with the requirements and works towards software selection, not the other way around.  Assuming good security is a requirement.&lt;/p&gt;</description>
      <pubDate>Mon, 25 Aug 2008 21:10:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:f488c07c-f266-4f7c-a1aa-001216547d68</guid>
      <author>Bill McGonigle</author>
      <link>http://blog.bfccomputing.com/articles/2008/08/25/anti-virus-on-voting-machines</link>
      <category>Windows</category>
      <category>Hardware</category>
      <category>Development</category>
      <category>Politics</category>
      <category>Open Source</category>
      <category>Linux</category>
      <category>Security</category>
      <trackback:ping>http://blog.bfccomputing.com/articles/trackback/4777</trackback:ping>
    </item>
    <item>
      <title>Sun Java for CentOS 5</title>
      <description>&lt;p&gt;Unfortunately the GNU java in &lt;a href="http://centos.org"&gt;CentOS&lt;/a&gt; 5 is too old to run modern Java code.  So, you need to install the Sun version in many cases, and the &lt;a href="http://jpackage.org"&gt;jpackage&lt;/a&gt; method is typically the best way to do that.  Two problems, though: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;They don&amp;#8217;t have an RPM that represents the current Sun version&lt;/li&gt;
&lt;li&gt;Their version doesn&amp;#8217;t work well on CentOS due to CentOS RPM bugs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you don&amp;#8217;t have them already installed, you need the RPM development tools.  Something like: &lt;/p&gt;

&lt;p&gt;&lt;code&gt;yum -y install rpm-build rpmdevtools&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;should be sufficient.  (note: I&amp;#8217;m assuming you&amp;#8217;re root.  Most of this can also be done with a local RPM build tree and sudo, but is beyond the scope of this article).&lt;/p&gt;

&lt;p&gt;As of this writing the current security release of the Java JDK is 1.6u7, which you can get &lt;a href="http://java.sun.com/javase/downloads/index.jsp"&gt;here&lt;/a&gt;.  Pick 32-bit linux (the only type I tested) get the linux &lt;b&gt;non-RPM&lt;/b&gt; version, and put the downloaded &amp;#8216;.bin&amp;#8217; file in &lt;code&gt;/usr/src/redhat/SOURCES&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Now, download my updated &lt;a href="http://bfccomputing.com/downloads/java/java-1.6.0-sun-centos-5.spec"&gt;spec file&lt;/a&gt; and put it in &lt;code&gt;/usr/src/redhat/SPEC&lt;/code&gt;.  If you&amp;#8217;re on a Fedora platform or CentOS fixes their version of &lt;code&gt;rpm&lt;/code&gt; you might want &lt;a href="http://bfccomputing.com/downloads/java/java-1.6.0-sun.spec"&gt;this non-CentOS spec&lt;/a&gt; instead.  This latter one builds everything just fine on CentOS but there are UnixODBC link errors due to the &lt;a href="http://mann-linuxproject.blogspot.com/2007/07/problem5.html"&gt;rpm bug&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Now, build Java with:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cd /usr/src/redhat
rpmbuild -ba SPEC/java-1.6.0-sun-centos-5.spec
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will take a while.  You should wind up with a bunch of RPM files in RPMS/i586/, like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;-rw-r--r-- 1 root root 43085836 Aug 11 22:48 java-1.6.0-sun-1.6.0.7-1jpp.i586.rpm
-rw-r--r-- 1 root root    35903 Aug 11 22:48 java-1.6.0-sun-alsa-1.6.0.7-1jpp.i586.rpm
-rw-r--r-- 1 root root 10473773 Aug 11 22:48 java-1.6.0-sun-demo-1.6.0.7-1jpp.i586.rpm
-rw-r--r-- 1 root root 21709383 Aug 11 22:48 java-1.6.0-sun-devel-1.6.0.7-1jpp.i586.rpm
-rw-r--r-- 1 root root  1259794 Aug 11 22:48 java-1.6.0-sun-fonts-1.6.0.7-1jpp.i586.rpm
-rw-r--r-- 1 root root    26057 Aug 11 22:48 java-1.6.0-sun-jdbc-1.6.0.7-1jpp.i586.rpm
-rw-r--r-- 1 root root   807126 Aug 11 22:48 java-1.6.0-sun-plugin-1.6.0.7-1jpp.i586.rpm
-rw-r--r-- 1 root root 17692845 Aug 11 22:48 java-1.6.0-sun-src-1.6.0.7-1jpp.i586.rpm
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Use yum to install them like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cd RPMS/i586
yum --nogpgcheck localinstall java-1.6.0-sun-*.rpm
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It should find dependencies, something like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 java-1.6.0-sun-alsa     i586       1.6.0.7-1jpp     java-1.6.0-sun-alsa-1.6.0.7-1jpp.i586.rpm   79 k
 java-1.6.0-sun-demo     i586       1.6.0.7-1jpp     java-1.6.0-sun-demo-1.6.0.7-1jpp.i586.rpm   15 M
 java-1.6.0-sun-devel    i586       1.6.0.7-1jpp     java-1.6.0-sun-devel-1.6.0.7-1jpp.i586.rpm   36 M
 java-1.6.0-sun-fonts    i586       1.6.0.7-1jpp     java-1.6.0-sun-fonts-1.6.0.7-1jpp.i586.rpm  2.0 M
 java-1.6.0-sun-jdbc     i586       1.6.0.7-1jpp     java-1.6.0-sun-jdbc-1.6.0.7-1jpp.i586.rpm   69 k
 java-1.6.0-sun-plugin   i586       1.6.0.7-1jpp     java-1.6.0-sun-plugin-1.6.0.7-1jpp.i586.rpm  1.6 M
 java-1.6.0-sun-src      i586       1.6.0.7-1jpp     java-1.6.0-sun-src-1.6.0.7-1jpp.i586.rpm   18 M
Installing for dependencies:
 java-1.6.0-sun          i586       1.6.0.7-1jpp     java-1.6.0-sun-1.6.0.7-1jpp.i586.rpm   68 M
 libXp                   i386       1.0.0-8.1.el5    base               23 k
 unixODBC-devel          i386       2.2.11-7.1       base              739 k
 unixODBC                i386       2.2.11-7.1       base              832 k
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And yum should download and complete without errors.  &lt;/p&gt;

&lt;p&gt;Now, make sure that this new version of Java is set to be the default with:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;/usr/sbin/alternatives --config java&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;and enjoy current java.  Hopefully it won&amp;#8217;t be long before Sun gets its code freed so next time you can just &amp;#8216;yum -y install sun-java&amp;#8217;. &lt;/p&gt;</description>
      <pubDate>Mon, 11 Aug 2008 23:03:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:43fdc898-7206-4b72-834e-855dc5d4e757</guid>
      <author>Bill McGonigle</author>
      <link>http://blog.bfccomputing.com/articles/2008/08/11/sun-java-for-centos-5</link>
      <category>Development</category>
      <category>Open Source</category>
      <category>Linux</category>
      <category>HOWTO</category>
      <trackback:ping>http://blog.bfccomputing.com/articles/trackback/4775</trackback:ping>
    </item>
    <item>
      <title>Complete Deniability</title>
      <description>&lt;p&gt;I&amp;#8217;ve written before about the limited usefulness of plausible deniability, especially in relation to software like &lt;a href="http://truecrypt.sf.net"&gt;TrueCrypt&lt;/a&gt;, a hard drive encryption program.&lt;/p&gt;

&lt;p&gt;The gist of plausible deniability with TrueCrypt is this:  You have multiple encrypted hard drive partitions.  When your enemy forces you to reveal your keys, you reveal the low-cost key, and the enemy sees some data that he doesn&amp;#8217;t care about and sends you on your merry way.  The &amp;#8216;real&amp;#8217; stuff you want to hide is still hidden.&lt;/p&gt;

&lt;p&gt;This works if two conditions are true:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The enemy doesn&amp;#8217;t know you employ a product with plausible deniability&lt;/li&gt;
&lt;li&gt;The enemy can merely detain you&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If those conditions aren&amp;#8217;t true, you&amp;#8217;re in big trouble.  Say a violent group gets you and your data.  They know TrueCrypt has plausible deniability, and they really want your data.  You&amp;#8217;re going to be tortured until they get what they want, it&amp;#8217;s that simple, and ugly.&lt;/p&gt;

&lt;p&gt;Now, the worst possible scenario is that you can&amp;#8217;t give up &amp;#8216;your data&amp;#8217; because it doesn&amp;#8217;t exist.  But only you know that.  The bad guys think you have it and they know you have plausible deniability.  You&amp;#8217;re completely screwed.&lt;/p&gt;

&lt;p&gt;For this reason I&amp;#8217;ve been against plausible deniability systems for defending against all threats (yes, TrueCrypt would still be fine from hiding that porn you have stashed away on your home PC).&lt;/p&gt;

&lt;p&gt;This changed when Cal Harding introduced the concept of &lt;a href="http://it.slashdot.org/comments.pl?sid=606473&amp;amp;cid=24101051"&gt;Complete Deniability&lt;/a&gt;.  That is, you can prove that you have no more plausible deniability.&lt;/p&gt;

&lt;p&gt;Here&amp;#8217;s how it can work:  With TrueCrypt, you could have a utility that, once inside a locked data set, could be given a set of keys and ensure that those keys account for all readable data and all blocks of the storage device.  Because TrueCrypt is open source, the bad guys can trust this utility to verify that you&amp;#8217;re no longer hiding anything.  They can review the source and compile it themselves, if they wish.&lt;/p&gt;

&lt;p&gt;But, good news for you, you get to go home.  Because even bad guys don&amp;#8217;t like to waste their time and you&amp;#8217;re not otherwise terribly interesting.  Odds are you&amp;#8217;re not getting your laptop back once the bad guys find your porn bank, though.&lt;/p&gt;</description>
      <pubDate>Thu, 10 Jul 2008 19:51:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:f040c64f-0be4-4740-b6a7-e0b784e0c82d</guid>
      <author>Bill McGonigle</author>
      <link>http://blog.bfccomputing.com/articles/2008/07/10/complete-deniability</link>
      <category>Windows</category>
      <category>Development</category>
      <category>Open Source</category>
      <category>Linux</category>
      <category>Security</category>
      <trackback:ping>http://blog.bfccomputing.com/articles/trackback/4772</trackback:ping>
    </item>
    <item>
      <title>ZFS/Linux Summit Meeting</title>
      <description>&lt;p&gt;&lt;a href="http://blogs.sun.com/bonwick/entry/casablanca"&gt;Photos&lt;/a&gt; of Jeff Bonwick of ZFS fame and Linus Torvalds of Linux fame.  Turns out that they&amp;#8217;re neighbors and Jeff was just helping Linus hook up a new gas grill. (j/k)&lt;/p&gt;

&lt;p&gt;ZFS is the &amp;#8216;one filesystem to rule them all&amp;#8217; but it can&amp;#8217;t be brought into the Linux kernel because of patents and licenses.  ZFS is licensed under the CDDL, which gets it into FreeBSD and OSX, which are BSD and thus compatible with the CDDL, but not into the Linux kernel, which is GPLv2.  If Linux were GPLv3, it would be possible for Sun to also license ZFS as GPLv3 and the twain could meet.  However, Sun doesn&amp;#8217;t really need to bother if Linux isn&amp;#8217;t going to do it.&lt;/p&gt;

&lt;p&gt;Note that a cleanroom implementation of ZFS could be GPLv2-compatible, but since it&amp;#8217;s not CDDL-based the code wouldn&amp;#8217;t have patents grants.  &amp;#8220;Sun Sues Linux Kernel Developers, News at 11&amp;#8221; helps nobody.&lt;/p&gt;

&lt;p&gt;I wrote on the ZFS list that having ZFS as a de-facto standard would lift all boats, and help Sun sell &lt;a href="http://www.sun.com/servers/x64/x4500/"&gt;Thumpers&lt;/a&gt;.  Assuming &lt;a href="http://blogs.sun.com/jonathan/feed/entries/atom"&gt;Jonathan&lt;/a&gt; dispatched Jeff to broker a &amp;#8220;I&amp;#8217;ll show you mine if you&amp;#8217;ll show me yours&amp;#8221; with Linus, we can look forward to the day when digital cameras come with ZFS flash cards instead of FAT32.  And that the current owner of the FAT32 patents would be further isolated is really a key point.&lt;/p&gt;</description>
      <pubDate>Mon, 19 May 2008 20:19:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:42a64f2d-8872-45d2-9c81-d57a98c42f33</guid>
      <author>Bill McGonigle</author>
      <link>http://blog.bfccomputing.com/articles/2008/05/19/zfs-linux-summit-meeting</link>
      <category>Hardware</category>
      <category>Development</category>
      <category>Open Source</category>
      <category>Linux</category>
      <trackback:ping>http://blog.bfccomputing.com/articles/trackback/4758</trackback:ping>
    </item>
  </channel>
</rss>
