On 11/30/06, John Summerfield <[EMAIL PROTECTED]> wrote:
I maintain a RHL 7.3 system which I plan to try to upgrade to ...
something. RHEL5 (or a clone) would be nice.
I appreciate that there will be problems (such as the need to find a
replacement for WU-imapd).
I have a test system on which to practice, so there's no concern about
borking a live system.
Any thoughts on likely problems?
There are several issues that can occur due to changes in filesystem
capabilities and such. I normally do the following:
rpm -qa --nodigest --nosignature | sort > rpm_list_RHEL-2.1_20061201-HHMM
force the upgrade (not sure what the secret syntax for that is)
alt-F2
chroot /mnt/sys/
touch /.autorelabel
on reboot use GRUB to select single user
wait for relabeling to finish
bring up network
up2date the box
rpm -qa --nodigest --nosignature | sort > rpm_list_RHEL-5-20061202-HHMM
compare the two files for cruft Left Behind(TM).
run a script like
http://www.smoogespace.com/downloads/rogue.awk
to find other stuff that is Left Behind(TM).
Begin the Great Update: lots of services have changed syntax and you
will want to match those files now (/etc/ssh/, /etc/sysctl.conf, etc
etc etc).
If the box is a server, I also do a
sed -i -e 's/LANG=.*$/LANG="C"/' /etc/sysconfig/i18n
I may also remove any kudzu files etc to let the newer kudzu
rediscover hardware..
Reboot into multi-user.
Any suggestions as to whether client or server would be better, or how
to decide?
Is there any commandline magic I might need?
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
Please do not reply off-list
_______________________________________________
rhelv5-beta-list mailing list
rhelv5-beta-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-beta-list
--
Stephen J Smoogen. -- CSIRT/Linux System Administrator
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"
_______________________________________________
rhelv5-beta-list mailing list
rhelv5-beta-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-beta-list