Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2002 20:11:25 -0800 (PST)
From:      Thomas Cannon <tcannon@noops.org>
To:        <rshea@opendoor.co.nz>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Too difficult for you ? (was : Upgrade 3.4 -> 4.4)
Message-ID:  <20020109195940.D33740-100000@stereophonic.noops.org>
In-Reply-To: <3C3DC1E9.9668.4D7D8C@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi - Well I got zero replies from this one yesterday. I guess it was either too
> easy or too difficult - I wonder which ? I can't find anything in the Handbook
> or in 'Complete FreeBSD' which discusses this situation - am I missing
> something obvious ?

http://www.freebsd.org/relnotes/4-STABLE/installation/i386/upgrading.html

It lists pretty clearly what files get saved and restored.

> > Hi - I've got a 3.4 machine I want to upgrade to 4.4. I've got the 4
> > CD's ready to go and I suspect that if I just stuffed the install CD
> > in I would get told what to do but this machine is rather important to
> > me so ... can anyone explain what's going to happen if I try to
> > upgrade 3.4 to 4.4.

Well thought out. There's a lot of changes between 3.4 and 4.4, and thet's
probably part of the reason people haven't been responding in droves -- it
would be hard to sit down and figure out every last thing that moved and
how or why it might break any one of the many software packages you're
asking about.

> > 1. what's going to happen to the existing installations of :
> >
> > Apache/PHP
> > MySQL
> > Samba
> > NATD
> > IPFW
> > Perl

Perl will get upgraded. The rest of those can be backed up pretty easily.
A mysql-dump, a few config files, some html... but you will have some
trouble if you try saving the binaries. Apache probably will be missing a
library or two, and would be happier with a rebuild. This I know from my
own experience.

> > I'm hoping that they will be effectively untouched (with the possible
> > exception of IPFW - see question 2) is that correct ?

The config files will all work with new binaries. And why not upgrade the
binaries, since you are bothing to upgrade the OS and all?

> > 2. I recompiled the Kernel to support running IPFW after the initial
> > installation was done. Am I going to have to redo that or is there
> > some option I can take during the install to achieve the same effect ?

You'll have to rebuild your kernel again.

> > 3. What's going to happen to users/groups etc ?

Those files are listed on the 'upgrade' page, so I imagine they'll be
right where you expect them.

> > 4. Are config files such as inetd.conf going to get overwritten ?

Again, that's on the upgrade page.

My opinion is that you should back up everything you're attached to, wipe
the box, and build it clean from the ground up. You may not be able to do
that, as it may be a production server that is in constant need, in which
case you probably shouldn't be upgrading it.

Good luck, anyhow. I hope my answer at least helped a little.

Thomas


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020109195940.D33740-100000>