Re: It is safe to build ports for 7.0 from a 6.3 chroot?

2008-03-04 Thread Bogdan Ćulibrk

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mel wrote:
|
| Minimize downtime of services provided by ports?
|
| Jose: take a look at Tinderbox - it does exactly what you want to do:
build
| ports for OS release X on OS release Y, using chroot. If you're unsure
about
| your own method, because of OSVERSION or similar, do it using Tinderbox.
|

IMHO, the usual procedure described in handbook will satisfy 95% of
upgrade scenarios. Others can install compat6x port right after (or
before) reboot.

In any case, be free to try whatever scenario works for you, but I would
~ not like to be the one who inherits server with such 'messy-upgrade' :|


- --
Best regards,
Bogdan Culibrk
[EMAIL PROTECTED] http://default.co.yu/~bc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfNO3kACgkQo6C4vAhYtCBl3wCeKyRqqDZP/gwpu77c4+stVFal
FPsAn03vkueNmyMHISoVa87NEYMzmTQo
=l7iW
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: It is safe to build ports for 7.0 from a 6.3 chroot?

2008-03-04 Thread Mel
On Tuesday 04 March 2008 13:07:21 Bogdan Ćulibrk wrote:
 Mel wrote:
 | Minimize downtime of services provided by ports?
 |
 | Jose: take a look at Tinderbox - it does exactly what you want to do:

 build

 | ports for OS release X on OS release Y, using chroot. If you're unsure

 about

 | your own method, because of OSVERSION or similar, do it using Tinderbox.

 IMHO, the usual procedure described in handbook will satisfy 95% of
 upgrade scenarios. Others can install compat6x port right after (or
 before) reboot.

And then upgrade all ports, while the services are running?

 In any case, be free to try whatever scenario works for you, but I would
 ~ not like to be the one who inherits server with such 'messy-upgrade' :|

Just cause it doesn't fall into your 95% slice, doesn't make it messy. It's in 
fact cleaner then using compat6x, *because* compat6x doesn't fall into the 
category of potential causes when things don't work.
FYI: tinderbox is based on the pointyhat build cluster, which makes all 
the 'messy' packages for the FreeBSD package servers.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: It is safe to build ports for 7.0 from a 6.3 chroot?

2008-03-04 Thread Bogdan Ćulibrk

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mel wrote:
|
| Just cause it doesn't fall into your 95% slice, doesn't make it messy.
It's in
| fact cleaner then using compat6x, *because* compat6x doesn't fall into
the
| category of potential causes when things don't work.
| FYI: tinderbox is based on the pointyhat build cluster, which makes all
| the 'messy' packages for the FreeBSD package servers.
|

I will stop discussion right here, because it has tendency to bring out
endless flame of you-know-what-about.
Starter of this thread didn't even  mention what services he is running
and just by that is pointless to discuss about approaches in upgrade of
anything.

Hats off to tinderbox or however binary packages are made, but that has
nothing to do on how to upgrade freebsd system.




- --
Best regards,
Bogdan Culibrk
[EMAIL PROTECTED] http://default.co.yu/~bc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfNV/oACgkQo6C4vAhYtCCi7wCbBhCk7uphbo1vqK9CDxnGYx7S
XycAniBYNk/QR6sUJkbBbMnCbNOZBRO1
=GXvR
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: It is safe to build ports for 7.0 from a 6.3 chroot?

2008-03-04 Thread José García Juanino
On 04/03/2008, Mel [EMAIL PROTECTED] wrote:
 On Tuesday 04 March 2008 01:48:37 Bogdan Ćulibrk wrote:
  
   0) Do I need to reinvent wheel?
  
  
   Joke off. Really, why would you try alternate way of upgrading, when
   there's straight way to do it?


 Minimize downtime of services provided by ports?

  Jose: take a look at Tinderbox - it does exactly what you want to do: build
  ports for OS release X on OS release Y, using chroot. If you're unsure about
  your own method, because of OSVERSION or similar, do it using Tinderbox.

Thank you very much for your responses.
The aim is, as you comment, minimize downtime of services. Also, I
want to switch back to the 6.3 release in a fast way if I find some
problem running the new one. Therefore, I cannot erase the 6.3
release.

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

Re: It is safe to build ports for 7.0 from a 6.3 chroot?

2008-03-03 Thread Andrew Pantyukhin
On Mon, Mar 03, 2008 at 09:09:37PM +0100, Jose Garcia Juanino wrote:
 Hi everybody
 
 Actually, I do the following in order to update from 6.3 to 7.0:
 
 1) dump my actual 6.3 filesystems /, /var and /usr into three new
 ones: /rel70, /rel70/usr and /rel70/var (I use the dump command, of
 course)
 
 2) chroot /rel70 and mergemaster -p + buildkernel + buildworld +
 installkernel + installworld + mergemaster -i and such stuff
 
 3) Inside the chroot, rebuild the ports
 
 4) Reboot the new release
 
 
 Will I go into problems following this approach? The step 3) is the most
 dangerous, I believe, as I have executing 7.0 commands on a 6.3 kernel
 (even though only for compilation).

Not only that, many ports have some tweaks dependent on
OSVERSION; some have it ingrained into their configure shims.

Personally, I got into a situation where I had to run 7.0 world
on 6.3 kernel. Nothing bad happened, but I rebooted with a new
kernel as soon as I could. All in all, I'd say you have a good
chance to succeed, especially if you have your fingers crossed :)
You won't be on the safe side, though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: It is safe to build ports for 7.0 from a 6.3 chroot?

2008-03-03 Thread Bogdan Ćulibrk

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jose Garcia Juanino wrote:
| Hi everybody
|
| Actually, I do the following in order to update from 6.3 to 7.0:
|
| 1) dump my actual 6.3 filesystems /, /var and /usr into three new
| ones: /rel70, /rel70/usr and /rel70/var (I use the dump command, of
| course)
|
| 2) chroot /rel70 and mergemaster -p + buildkernel + buildworld +
| installkernel + installworld + mergemaster -i and such stuff
|
| 3) Inside the chroot, rebuild the ports
|
| 4) Reboot the new release
|
|
| Will I go into problems following this approach? The step 3) is the most
| dangerous, I believe, as I have executing 7.0 commands on a 6.3 kernel
| (even though only for compilation).

0) Do I need to reinvent wheel?


Joke off. Really, why would you try alternate way of upgrading, when
there's straight way to do it?

- --
Best regards,
Bogdan Culibrk
[EMAIL PROTECTED] http://default.co.yu/~bc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfMnD0ACgkQo6C4vAhYtCDrTwCgoHSPgIoGgltE2plO4JsQ5Bb/
R50An3hFeeBfcNIyHlRD9za8lLnI3t0v
=ZGrK
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: It is safe to build ports for 7.0 from a 6.3 chroot?

2008-03-03 Thread Mel
On Tuesday 04 March 2008 01:48:37 Bogdan Ćulibrk wrote:
 Jose Garcia Juanino wrote:
 | Hi everybody
 |
 | Actually, I do the following in order to update from 6.3 to 7.0:
 |
 | 1) dump my actual 6.3 filesystems /, /var and /usr into three new
 | ones: /rel70, /rel70/usr and /rel70/var (I use the dump command, of
 | course)
 |
 | 2) chroot /rel70 and mergemaster -p + buildkernel + buildworld +
 | installkernel + installworld + mergemaster -i and such stuff
 |
 | 3) Inside the chroot, rebuild the ports
 |
 | 4) Reboot the new release
 |
 |
 | Will I go into problems following this approach? The step 3) is the most
 | dangerous, I believe, as I have executing 7.0 commands on a 6.3 kernel
 | (even though only for compilation).

 0) Do I need to reinvent wheel?


 Joke off. Really, why would you try alternate way of upgrading, when
 there's straight way to do it?

Minimize downtime of services provided by ports?

Jose: take a look at Tinderbox - it does exactly what you want to do: build 
ports for OS release X on OS release Y, using chroot. If you're unsure about 
your own method, because of OSVERSION or similar, do it using Tinderbox.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]