Your Linux Data Center Experts

I ended up doing an (almost) full re-install of my laptop to get FC3. The upgrade mostly worked, and I probably could have done something a bit more surgical since I make religious use of packages. Luckily, I realized that it would just be less trouble for me to re-install the OS. I had pulled a list of packages which were not updated by the FC3 upgrade and it was several hundred of them. I set up my system in such a way that a fresh re-install isn't a huge issue, so I went ahead with that.

Things were working fine with the FC3 upgrade except for one issue. The system would hang on resume if I suspended. I have tweaked the APM scripts on resume, so that might have been part of it, but from what I could tell the APM scripts were all fresh copies of FC3 so it might have been some other issue. But it would hang on resume even if I was in single user mode. The fresh upgrade did indeed allow me to suspend, so that was one issue resolved.

The other issue is that I have a whole ton of packages which are not a part of the base CD sets. This is for a number of reasons. Many of them are for special development projects, both company and personal, that I work on. Many custom Python installs, database drivers, etc. Some of them are things that are developed for KRUD or clients. Because they were packages, I could remove them and then ask RPM if it broke anything doing that. That would have been a lot of work though.

A re-install actually isn't that much trouble for me on my laptop. I don't run that many services, and almost all of the important stuff resides under /home. I have my laptop set up so that “/” is 12GB, and “/home” is the rest of the space. So, I can re-install the OS without having to back up and reload all my data. Of course, I have a recent backup of /home, but there was a bit of e-mail and other changes that weren't on that backup, so not having to copy/restore it was a win.

So, a re-install for me involves the following:

  • The, you know, re-install.
  • Setting up UUCP and Postfix (preserving “/etc/postfix” and “/etc/uucp” directories, and copying over “/etc/xinetd.d/uucp” file).
  • Setting up OpenVPN and my iptables rules for the VPN.
  • Preserving my PostgreSQL databases. (As easy as “pg_dumpall >/home/jafo/pg.sql”, as long as I remember to do it before the upgrade).
  • Preserving “/usr/local/” which is largely where I install my truly local packages and tools.
  • Re-installing my special-sauce packages. The things I can't live without but aren't part of the base release. These include “dbbackup”, “pkgrep”, “psycopg”, “hostap”, JOTWeb of course, and more.
  • Preserving my local HTTP setup, basically just copying a few files from “/etc/httpd/conf.d” to the new system.
  • Testing of the above. Mostly making sure e-mail works.

As you can see, a few details, but really nothing that hard. Just going through a process with several steps. E-mail is really the “mission-critical” application that requires setup of the base OS, so it's really a pretty easy re-install. If this were a server it probably would have been quite a lot more involved.

In the end, though, I did re-install my “/home” partition as well. I had been wanting to change it over to XFS and decided just to bite the bullet after I got the install done. I had been using JFS, which mostly was working well for me. However, I had run into some Unicode-named files which JFS wasn't handling at all well. It couldn't delete them once they were created. There were only a couple of them on the system. So I decided to give XFS a try. I've been through every one of the other major file-systems, so why not?

The re-install I again did using the PXE images installed locally on my laptop. That worked great.

I'm now up with the latest bits, which is kind of nice. I checked and it looks like the last install I did on the system was November 22, just a week short of a year ago. Mostly I did the upgrade because I wanted to try out the new software for experience for using with KRUD. Plus, it's nice to have the latest software. My old system was a bit tweaky since the OS was using Python 2.2, but Zope3's TAL (required for JOTWeb) required Python 2.3. So I was maintaining two different versions of many packages.

comments powered by Disqus

Join our other satisfied clients. Contact us today.