Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Apr 12, 2006 5:45 pm 
Offline
Junior Member

Joined: Sun Sep 19, 2004 2:02 pm
Posts: 20
I've just finished upgrading a test Linode to Fedora Core 4 without problems, so here goes the instructions.

This was attempted with a Fedora Core 3 system upgraded from a fresh Fedora Core 2 image.

Warning

This procedure is being posted in the Xen Public Beta forum because Fedora Core 4 does not work inside UML.

From this version of the system onwards NPTL is required, and UML doesn't support that.

Procedure

1) Install the fedora-release-4 package from a Fedora Core 4 base repository.

This package will conflict with the legacy-yumconf-3 package from Fedora Legacy; you can safely remove it now you're upgrading your system.

This step will configure yum to use the repositories for Fedora Core 4.

2) Optionally, disable the fedora-extras repository.

You must do it by setting the parameter enabled to 0 in the fedora-extras.repo configuration file.

The Fedora Extras repository is huge, and parsing it makes yum consume a huge amount of memory, with consequent swapping and all the badnass that brings.

3) Check extra software and pay attention to upgraded interfaces.

Read the updated Relase Notes:

http://fedora.redhat.com/docs/release-notes/fc4/errata/

Fedora Core 4 upgrades db4 from 4.2 to 4.3. Prepare yourself by dumping databases to reload them later.

Check for the dependencies of your extra packages -- this is a system upgrade, and interfaces will be upgraded -- Fedora Core 4 upgrades python to 2.4, MySQL to 4.1, etc.

4) Issue the yum upgrade.

Do not upgrade the system in parts. Fedora Core 4 software is NPTL-based; mixing NPTL-based components and LinuxThreads-based components may not work.

In my first attempt at this procedure I followed the exact same steps I gave in my "Fedora Core 2 to Fedora Core 3" tutorial; that upgraded rpm and db4 but not glibc; rpm became then unusable due to NPTL functions not being present in the system library.

Epilogue

Fedora Core 4 runs smoothly in NPTL emulation mode under Xen. I suppose there is nothing to stop another upgrade to Fedora Core 5 using this same procedure -- maybe I'll try that in a few months.

Included in the distribution are domU kernels and related tools; so we can expect every Fedora Core release from now on to work normally as a Xen guest.

It also seems SELinux works somewhat; with some more community study, this can become a great tool to secure Xennodes.


Top
   
 Post subject:
PostPosted: Wed Apr 12, 2006 8:58 pm 
Offline
Junior Member

Joined: Sun Sep 19, 2004 2:02 pm
Posts: 20
Further note: after such a massive update, probably some new configuration files will have been installed sideways with the old ones, with the .rpmnew suffix.

List all these files with:

Code:
]# find /etc -name \*rpmnew


Inspect the differences between (say) /etc/inittab and /etc/inittab.rpmnew with:
Code:
]# diff -u /etc/inittab /etc/inittab.rpmnew


Top
   
 Post subject:
PostPosted: Wed Apr 19, 2006 9:26 am 
Offline
Senior Newbie
User avatar

Joined: Sat Apr 10, 2004 2:01 am
Posts: 18
Quote:
This procedure is being posted in the Xen Public Beta forum because Fedora Core 4 does not work inside UML.

From this version of the system onwards NPTL is required, and UML doesn't support that.


I tried it with the latest NTPL-able 2.6.16.1-linode18 kernel, and it worked.

Cheers,

Michael


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group