Re: Binary upgrades?

2004-03-14 Thread Kai Grossjohann
Matthew Seaman <[EMAIL PROTECTED]> writes:

> On Sun, Mar 14, 2004 at 05:37:56PM +0100, Kai Grossjohann wrote:
>
>> I wonder if this could be made easier.  I'd be surprised if there
>> wasn't a method of doing binary upgrades already.  For example, if we
>> decided to track releases, would that enable us to do binary upgrades
>> using sysinstall, say?  I vaguely remember having seen an upgrade
>> option in there...
>
> http://www.daemonology.net/freebsd-update

Yes, being able to install security updates is a cool thing.  I've now
installed it and read the freebsd-update(8) and freebsd-update.conf(5)
man pages.

Alas, I don't grok it, yet.

  - Is the intent that I can make my own server?  Or is it "just" a
convenient way to receive binary upgrades for releases?  (I put
the quotes there because I think it is not a small feat.)

  - If I'm supposed to be able to make my own server, how to put stuff
there?

  - What does it do with config files during the upgrade?  (Actually,
I think for me it would be sufficient for the thing to install
default config files -- I've got cfengine to handle the rest...)

  - Can it upgrade from one version to another, or is it for security
fixes only?

Regardless of the answers, however, I can already see that it will
help us tremendously: we just install a release, then let
freebsd-update handle the rest for the base system.  And for the
ports, we think of another way, such as the "portupgrade -avRPP"
command that I mentioned before.

Now the only thing missing is my ability to convince them ;-)

Kai

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Binary upgrades?

2004-03-14 Thread Thorsten von Plotho-Kettner
On Sun, 14 Mar 2004 17:37:56 +0100
Kai Grossjohann <[EMAIL PROTECTED]> wrote:

> I'm trying to convince my cow-orkers and my boss to switch to
^^

> FreeBSD from Debian GNU/Linux.  The systems we are talking about
> are workstations (desktop or laptop PCs), our servers are running
> Solaris.

Oh, I love this one ;)

Regards,

Thorsten
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Binary upgrades?

2004-03-14 Thread Matthew Seaman
On Sun, Mar 14, 2004 at 05:37:56PM +0100, Kai Grossjohann wrote:

> I wonder if this could be made easier.  I'd be surprised if there
> wasn't a method of doing binary upgrades already.  For example, if we
> decided to track releases, would that enable us to do binary upgrades
> using sysinstall, say?  I vaguely remember having seen an upgrade
> option in there...

http://www.daemonology.net/freebsd-update

It's still in development, so it hasn't been adopted yet as an
official FreeBSD thing, but that surely is just a matter of time.
Works exceedingly well, and because of Colin Percival's binary diff
tool, it's really very light weight in the bandwidth usage stakes.

It's available from ports, of course:

security/freebsd-update

The 'binary upgrade' option in sysinstall is a different thing: it's
essentially a mechanism for wiping and replacing your current system
with that release version, backing up various important config files
as it does so.  You still need to repopulate your /etc directory by
merging the updated default contents with the saved versions, and it's
generally not as smooth to do as the more usual means of
{build,install} {world,kernel} and running mergemaster. (Unless you're
upgrading over a large number of versions or across a major version
number change).

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Binary upgrades?

2004-03-14 Thread Kai Grossjohann
I'm trying to convince my cow-orkers and my boss to switch to FreeBSD
from Debian GNU/Linux.  The systems we are talking about are
workstations (desktop or laptop PCs), our servers are running Solaris.

So far, my experience with FreeBSD has been running on my home
computer.  There, I use "portupgrade -avR" for upgrading the ports,
and the procedure described in /usr/src/UPDATING for upgrading the
base system.

Some of us will want to just use the machine, without bothering about
the configuration.  Others will act as sysadmins, tweaking the
configuration.  I've already pretty much decided that cfengine will be
our friend -- it allows us to tweak the configuration incrementally,
and all those who don't want to think about it will get the config
changes automatically.

Now comes the issue of upgrading the system.

I understand that this will be fairly easy for the ports collection:
just nfs-mount the right directories, and pass "-pP" to the
portupgrade program.  Maybe those who don't want to think about it can
say "portupgrade -avRPP".  (Is this the right command?)

But for the base system, I'm not so sure.  I've read the chapter in
the handbook talking about nfs-mounting /usr/obj and /usr/src.  But
that still requires people to do

shutdown now
cd /usr/src
mergemaster -p
make installkernel installworld
mergemaster

Is this correct?

I wonder if this could be made easier.  I'd be surprised if there
wasn't a method of doing binary upgrades already.  For example, if we
decided to track releases, would that enable us to do binary upgrades
using sysinstall, say?  I vaguely remember having seen an upgrade
option in there...

I guess I just haven't read the right documentation, yet.  Normally,
with FreeBSD, one doesn't need to ask the community, one just reads
the documentation ;-)

Kai

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"