<?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>Tony Bhimani's Blog &#187; Fedora</title>
	<atom:link href="http://www.tonybhimani.com/category/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tonybhimani.com</link>
	<description>Where I Share my Linux and Programming Experiences</description>
	<lastBuildDate>Sun, 01 Jun 2008 02:48:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Excluding Packages from Yum Updates</title>
		<link>http://www.tonybhimani.com/2008/03/30/excluding-packages-from-yum-updates/</link>
		<comments>http://www.tonybhimani.com/2008/03/30/excluding-packages-from-yum-updates/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 23:19:28 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://www.tonybhimani.com/2008/03/30/excluding-packages-from-yum-updates/</guid>
		<description><![CDATA[There may be times when you may need to exclude packages from yum updates &#8212; e.g. package conflicts, etc. I always like to give an example of why I would do this or that, so for an example pertaining to excluding packages it&#8217;s as simple as something is installed and the RPM&#8217;s of that conflict [...]]]></description>
			<content:encoded><![CDATA[<p>There may be times when you may need to exclude packages from yum updates &#8212; e.g. package conflicts, etc. I always like to give an example of why I would do this or that, so for an example pertaining to excluding packages it&#8217;s as simple as something is installed and the RPM&#8217;s of that conflict with the RPM&#8217;s yum wants to install and yum won&#8217;t install them because it doesn&#8217;t want to break the system. This in turn can keep unrelated packages from installing and then it can become one big mess. Did that run-on sentence make any sense? Ok, this is it in action&#8230;</p>
<pre class="code">[root@linux ~]# yum update
fedora                    100% |=========================| 2.1 kB    00:00
primary.sqlite.bz2        100% |=========================| 3.8 MB    00:03
updates                   100% |=========================| 2.3 kB    00:00
primary.sqlite.bz2        100% |=========================| 2.4 MB    00:02
Setting up Update Process
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package perl.i386 4:5.8.8-28.fc7 set to be updated
---&gt; Package perl-libs.i386 4:5.8.8-28.fc7 set to be updated
---&gt; Package perl-ExtUtils-MakeMaker.i386 0:6.30-28.fc7 set to be updated
---&gt; Package perl-CPAN.i386 0:1.76_02-28.fc7 set to be updated
---&gt; Package perl-ExtUtils-Embed.i386 0:1.26-28.fc7 set to be updated
---&gt; Package perl-Test-Simple.i386 0:0.62-28.fc7 set to be updated
---&gt; Package perl-devel.i386 4:5.8.8-28.fc7 set to be updated
---&gt; Package perl-Test-Harness.i386 0:2.56-28.fc7 set to be updated
filelists.sqlite.bz2      100% |=========================| 6.4 MB    00:05
filelists.sqlite.bz2      100% |=========================| 5.3 MB    00:04
--&gt; Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 perl                    i386       4:5.8.8-28.fc7   updates            10 M
 perl-CPAN               i386       1.76_02-28.fc7   updates           127 k
 perl-ExtUtils-Embed     i386       1.26-28.fc7      updates            34 k
 perl-ExtUtils-MakeMaker  i386       6.30-28.fc7      updates           288 k
 perl-Test-Harness       i386       2.56-28.fc7      updates            78 k
 perl-Test-Simple        i386       0.62-28.fc7      updates           109 k
 perl-devel              i386       4:5.8.8-28.fc7   updates           384 k
 perl-libs               i386       4:5.8.8-28.fc7   updates           567 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       8 Package(s)
Remove       0 Package(s)

Total download size: 12 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): perl-Test-Harness- 100% |=========================|  78 kB    00:00
(2/8): perl-devel-5.8.8-2 100% |=========================| 384 kB    00:00
(3/8): perl-Test-Simple-0 100% |=========================| 109 kB    00:00
(4/8): perl-ExtUtils-Embe 100% |=========================|  34 kB    00:00
(5/8): perl-CPAN-1.76_02- 100% |=========================| 127 kB    00:00
(6/8): perl-ExtUtils-Make 100% |=========================| 288 kB    00:00
(7/8): perl-libs-5.8.8-28 100% |=========================| 567 kB    00:00
(8/8): perl-5.8.8-28.fc7. 100% |=========================|  10 MB    00:09
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test

Transaction Check Error:
  file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/MIME/Base64/Base64.so from install of perl-5.8.8-28.fc7 conflicts with file from package perl-MIME-Base64-3.07-1
  file /usr/share/man/man3/MIME::Base64.3pm.gz from install of perl-5.8.8-28.fc7 conflicts with file from package perl-MIME-Base64-3.07-1
  file /usr/share/man/man3/MIME::QuotedPrint.3pm.gz from install of perl-5.8.8-28.fc7 conflicts with file from package perl-MIME-Base64-3.07-1
  file /usr/lib/perl5/5.8.8/Getopt/Long.pm from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Getopt-Long-2.36-1
  file /usr/lib/perl5/5.8.8/newgetopt.pl from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Getopt-Long-2.36-1
  file /usr/share/man/man3/Getopt::Long.3pm.gz from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Getopt-Long-2.36-1
  file /usr/lib/perl5/5.8.8/Math/BigFloat.pm from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Math-BigInt-1.86-1
  file /usr/lib/perl5/5.8.8/Math/BigInt.pm from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Math-BigInt-1.86-1
  file /usr/lib/perl5/5.8.8/Math/BigInt/Calc.pm from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Math-BigInt-1.86-1
  file /usr/lib/perl5/5.8.8/Math/BigInt/CalcEmu.pm from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Math-BigInt-1.86-1
  file /usr/share/man/man3/Math::BigFloat.3pm.gz from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Math-BigInt-1.86-1
  file /usr/share/man/man3/Math::BigInt.3pm.gz from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Math-BigInt-1.86-1
  file /usr/share/man/man3/Math::BigInt::Calc.3pm.gz from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Math-BigInt-1.86-1
  file /usr/share/man/man3/Math::BigInt::CalcEmu.3pm.gz from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Math-BigInt-1.86-1
  file /usr/lib/perl5/5.8.8/Math/BigRat.pm from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Math-BigRat-0.19-1
  file /usr/share/man/man3/Math::BigRat.3pm.gz from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Math-BigRat-0.19-1
  file /usr/lib/perl5/5.8.8/bigint.pm from install of perl-5.8.8-28.fc7 conflicts with file from package perl-bignum-0.21-1
  file /usr/lib/perl5/5.8.8/bignum.pm from install of perl-5.8.8-28.fc7 conflicts with file from package perl-bignum-0.21-1
  file /usr/lib/perl5/5.8.8/bigrat.pm from install of perl-5.8.8-28.fc7 conflicts with file from package perl-bignum-0.21-1
  file /usr/share/man/man3/bigint.3pm.gz from install of perl-5.8.8-28.fc7 conflicts with file from package perl-bignum-0.21-1
  file /usr/share/man/man3/bignum.3pm.gz from install of perl-5.8.8-28.fc7 conflicts with file from package perl-bignum-0.21-1
  file /usr/share/man/man3/bigrat.3pm.gz from install of perl-5.8.8-28.fc7 conflicts with file from package perl-bignum-0.21-1
  file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Sys/Syslog.pm from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Sys-Syslog-0.18-1
  file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Sys/Syslog/Syslog.so from install of perl-5.8.8-28.fc7 conflicts with file from package perl-Sys-Syslog-0.18-1

Error Summary
-------------

[root@linux ~]#</pre>
<p>I ran a yum update and a bunch of perl updates crapped out. MailScanner is the only application I installed that loaded a series of perl RPM dependencies, so it&#8217;s safe to assume that MailScanner is the culprit. With that said, I&#8217;ll get to the point of this post. If you have a similar problem with yum updates failing, you can exclude those updates.</p>
<p>For RedHat based systems (Fedora &amp; CentOS), you&#8217;ll want to edit the updates repository file.</p>
<pre class="code">[root@linux ~]# cd /etc/yum.repos.d/
[root@linux yum.repos.d]# ls
fedora-development.repo  fedora.repo  fedora-updates.repo  fedora-updates-testing.repo
[root@linux yum.repos.d]# nano fedora-updates.repo</pre>
<p>On my Fedora 7 system, the file I want to edit is fedora-updates.repo (your file name may be different depending on the distro and release you&#8217;re using).</p>
<p>In the updates section, add an exclude line like in the example below. I&#8217;m excluding all updates that begin with the word perl (note the wildcard *). To exclude more than one set, enter each package name on the same line and separate them with a space.</p>
<pre class="code">[updates]
name=Fedora $releasever - $basearch - Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&amp;arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
<span style="background-color: #ffff00">exclude=perl*</span></pre>
<p>Now if I run the yum update, all packages beginning with &#8220;perl&#8221; should be excluded.</p>
<pre class="code">[root@linux yum.repos.d]# yum update
updates                   100% |=========================| 2.3 kB    00:00
<span style="background-color: #ffff00">Excluding Packages from Fedora 7 - i386 - Updates</span>
Finished
Setting up Update Process
No Packages marked for Update
[root@linux yum.repos.d]#</pre>
<p>Now we&#8217;re cool. If you didn&#8217;t know how to exclude packages from yum updates, well now you know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonybhimani.com/2008/03/30/excluding-packages-from-yum-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What happened to named.conf in ISC BIND DNS on Fedora 7?</title>
		<link>http://www.tonybhimani.com/2007/12/16/what-happened-to-namedconf-in-isc-bind-dns-on-fedora-7/</link>
		<comments>http://www.tonybhimani.com/2007/12/16/what-happened-to-namedconf-in-isc-bind-dns-on-fedora-7/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 05:18:02 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[BIND]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.tonybhimani.com/2007/12/16/what-happened-to-namedconf-in-isc-bind-dns-on-fedora-7/</guid>
		<description><![CDATA[I&#8217;ve made the great leap this week by moving to a new colocation. This site and many others have moved to a new dedicated server because the old service I used provided by unnamed company was absolutely horrible. They boasted 99.99% uptime, HA! I was lucky to get 75% uptime out of those fools for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made the great leap this week by moving to a new colocation. This site and many others have moved to a new dedicated server because the old service I used provided by <em>unnamed company</em> was absolutely horrible. They boasted 99.99% uptime, HA! I was lucky to get 75% uptime out of those fools for the year I was with them. Anyway&#8230;</p>
<p>The one thing I hate about moving is having to transfer gigs of data and reconfigure things. To cut it short, the old server was Fedora Core 4 and the new server is Fedora 7. Changes have been made between the three versions difference. One of these changes explains the title of this post. What happened to named.conf?</p>
<p>I checked the typical locations like <em>/etc</em> and <em>/var/named/chroot/etc</em> but it was nowhere to be found. I ran a <em>locate</em> and it didn&#8217;t exist. Thinking it was somewhat possible that maybe it was in a RPM I hadn&#8217;t installed, I checked the RPM list on a Fedora mirror site and compared those to the RPM&#8217;s I did have installed. No luck, everything was there.</p>
<p>I searched the net and didn&#8217;t find any reason for named.conf&#8217;s disappearance. I also discovered I wasn&#8217;t the only one seeking an explanation to its vanishing act. I came across a post on a forum mentioning the use of system-config-bind to create named.conf. A marvel idea, however it&#8217;s a GUI based tool and that leaves us text based users out in the cold &#8212; well sort of&#8230;</p>
<p>If you&#8217;re like me and want to set up a DNS Server on Fedora 7 to handle your zones, then follow these steps while as root.</p>
<p>1. Even though it&#8217;s a GUI dependent tool, install system-config-bind using yum. It contains template files you can use to get named up and running.</p>
<pre class="code">yum install system-config-bind</pre>
<p>2. The templates used by system-config-bind for generate named.conf and other essential files have been installed in  <em>/usr/share/system-config-bind/profiles/default</em>. We need to copy these files to where named would be expecting them (the assumption being that you&#8217;re running named in a chroot jail.</p>
<pre class="code">cd /usr/share/system-config-bind/profiles/default
cp -p named.conf /var/named/chroot/etc/
cp ./named/* /var/named/chroot/var/named/</pre>
<p>3. Now that named.conf is copied over we&#8217;ll need to make a change to the root hints file name. Right now our named.conf is looking for the file named.root instead of named.ca as in prior releases of bind. If you don&#8217;t make this change, named will fail to start and you&#8217;ll get an error like this in syslog <strong>named[20622]: could not configure root hints from &#8216;named.root&#8217;: file not found</strong>. Open named.conf in a text editor and look for this section (it should be right below <em>options</em>).</p>
<pre class="code">zone "." IN {
        type hint;
        file "<span style="background-color: yellow">named.root</span>";
};</pre>
<p>Change named.root to named.ca and save your changes.</p>
<p>4. Create a symlink to named.conf in /etc (optional but suggested).</p>
<pre class="code">ln -s /var/named/chroot/etc/named.conf /etc/named.conf</pre>
<p>5. Start the named service and you&#8217;re good to go.</p>
<pre class="code">service named start</pre>
<p>Now go ahead and create your zone files and add their references to named.conf. See my <a href="http://www.xenocafe.com/tutorials/dns_linux/redhat/dns_linux_redhat-part2.php">RedHat Bind Tutorial on XenoCafe</a> for more information on DNS and Zones.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonybhimani.com/2007/12/16/what-happened-to-namedconf-in-isc-bind-dns-on-fedora-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
