Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

7.4 -> 8.2

1 view
Skip to first unread message

Albert Shih

unread,
Nov 24, 2011, 10:09:01 AM11/24/11
to
Hi all

Almost classic question about updating from 7.4 to 8.2.

Anyone known if I can temporally run a 7.4 userland+service with 8.2 kernel
?

I've ask this because I've ~ 15 jail on one server. I can update the «host»
pretty fast but with the 15 jail I need some time. And I would like to
known if durring this time the jail going to work «normally».

Regards.
--
Albert SHIH
DIO batiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 24 nov 2011 16:06:49 CET
_______________________________________________
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

Robert Huff

unread,
Nov 24, 2011, 10:44:00 AM11/24/11
to

Albert Shih writes:

> Anyone known if I can temporally run a 7.4 userland+service with
> 8.2 kernel?

My gut reaction was "Are you familiar with the game of Russian
Roulette?".


Robert Huff

Albert Shih

unread,
Nov 24, 2011, 10:47:28 AM11/24/11
to
Le 24/11/2011 à 10:44:00-0500, Robert Huff a écrit
>
> Albert Shih writes:
>
> > Anyone known if I can temporally run a 7.4 userland+service with
> > 8.2 kernel?
>
> My gut reaction was "Are you familiar with the game of Russian
> Roulette?".

I see this thing in lot of movies, but no personally I'm a little coward and
don't really play this kind of game ;-)

But thanks I understand you answer :-)

Regards.

--
Albert SHIH
DIO batiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 24 nov 2011 16:45:54 CET

Pierre-Luc Drouin

unread,
Nov 24, 2011, 10:50:37 AM11/24/11
to
On Thu, Nov 24, 2011 at 10:44 AM, Robert Huff <rober...@rcn.com> wrote:
>
> Albert Shih writes:
>
>>  Anyone known if I can temporally run a 7.4 userland+service with
>>  8.2 kernel?
>
>        My gut reaction was "Are you familiar with the game of Russian
> Roulette?".
>
>
>                                Robert Huff
>

I would definitely test it on another machine beforehand, including
tests of the services which are running in the jails. It would
probably be safer to make a copy of the drive from that server, put it
on another machine, upgrade everything, then take the server offline,
rsync the user data and swap the drives...

Pierre-Luc Drouin

do...@safeport.com

unread,
Nov 24, 2011, 12:45:58 PM11/24/11
to
On Thu, 24 Nov 2011, Pierre-Luc Drouin wrote:

> On Thu, Nov 24, 2011 at 10:44 AM, Robert Huff <rober...@rcn.com> wrote:
>>
>> Albert Shih writes:
>>
>>>  Anyone known if I can temporally run a 7.4 userland+service with
>>>  8.2 kernel?
>>
>>        My gut reaction was "Are you familiar with the game of Russian
>> Roulette?".
>>
>>
>>                                Robert Huff
>>
>
> I would definitely test it on another machine beforehand, including
> tests of the services which are running in the jails. It would
> probably be safer to make a copy of the drive from that server, put it
> on another machine, upgrade everything, then take the server offline,
> rsync the user data and swap the drives...

Testing seems like a good idea. Include "COMPAT_FREEBSD7" in you 8.2 kernel

TonyMc

unread,
Nov 24, 2011, 3:01:56 PM11/24/11
to
On Thu, 24 Nov 2011 10:44:00 -0500, Robert Huff wrote:

> My gut reaction was "Are you familiar with the game of Russian
>Roulette?".
>
>
> Robert Huff
>

I have played a variant of this game using six cans of Guinness. Shake
one can vigorously, then shuffle them around. Take it in turns to
hold a can next to your head and pull the ring. Best played outdoors.

Tony

Albert Shih

unread,
Dec 22, 2011, 7:47:09 AM12/22/11
to
Le 24/11/2011 à 16:09:01+0100, Albert Shih a écrit
> Hi all
>
> Almost classic question about updating from 7.4 to 8.2.
>
> Anyone known if I can temporally run a 7.4 userland+service with 8.2 kernel
> ?
>
> I've ask this because I've ~ 15 jail on one server. I can update the «host»
> pretty fast but with the 15 jail I need some time. And I would like to
> known if durring this time the jail going to work «normally».
>
So I answer to myself.

Some body tell me it's like

"My gut reaction was "Are you familiar with the game of Russian Roulette?".

Well....it's work...almost.

Here what I do :

Upgrade kernel and userland from 7.4 to 8.2 on the host.

Upgrade all userland of my all jail to 8.2

Until now everything work fine.

Delete old libs/files/man

and...apache stop working.

After do a

portupgrade -fR apache

everything work again.

Be careful the

portupgrade -f apache

is not enough. I don't known which ports have some problem but I
got a SSL error. So first I just update apache. It's not good. Then
apr, etc...finally I upgrade with «-fR» and everything work again.

For subversion you need to force upgrade neon too.

and for who want to ask me : NO I don't play Russian roulette.

Regards.

--
Albert SHIH
DIO batiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 22 déc 2011 13:41:25 CET

Polytropon

unread,
Dec 22, 2011, 8:24:26 AM12/22/11
to
You should basically be able to run v7 programs in a
partially installed v8 environment as long as the
COMPAT_FREEBSD7 functionality is enabled and the
compat7x-i386-7.3.703000.201008_1 port or package
has been installed. However, kernel and world should
match each other.

After an upgrade from one major version to the next
one, it's the best solution to update _all_ installed
ports. The "man portmaster" manpage contains a nice
example for this situation. It should be similarly
easy to achieve with portupgrade.


--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Albert Shih

unread,
Dec 22, 2011, 8:49:15 AM12/22/11
to
Le 22/12/2011 à 14:24:26+0100, Polytropon a écrit
> >
> > For subversion you need to force upgrade neon too.
>
> You should basically be able to run v7 programs in a
> partially installed v8 environment as long as the
> COMPAT_FREEBSD7 functionality is enabled and the
> compat7x-i386-7.3.703000.201008_1 port or package
> has been installed. However, kernel and world should
> match each other.
>
> After an upgrade from one major version to the next
> one, it's the best solution to update _all_ installed
> ports. The "man portmaster" manpage contains a nice
> example for this situation. It should be similarly
> easy to achieve with portupgrade.

Yes I known. Thanks for the tips.

My problem is with almost 15 jails on each server (I got 3) that's take
long time, event during this time I don't do many thing some service isn't
up.

So my message is to find the minimal thing to do and make it's working
until all package is rebuild.

Regards.

> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0

I'm from 3.2 ;-)

Regards.
--
Albert SHIH
DIO batiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 22 déc 2011 14:47:16 CET

Damien Fleuriot

unread,
Dec 22, 2011, 8:59:29 AM12/22/11
to
The question is why do you even bother running jails with different
userlands ?

Keep a shared userland for all your jails, just ensure your /etc and
/usr/local are private only to said jails.

This way you only need to rebuild the world once, although you'll still
have to run mergemaster on each jail.

Fbsd8

unread,
Dec 22, 2011, 8:36:21 PM12/22/11
to
If you had used the qjail port to install your jails, upgrading between
major versions is easy. Maybe this is the time to change the way you
create your jails.

Albert Shih

unread,
Dec 23, 2011, 3:58:46 PM12/23/11
to
Le 22/12/2011 à 14:59:29+0100, Damien Fleuriot a écrit
>
>
>
>
> The question is why do you even bother running jails with different
> userlands ?
>
> Keep a shared userland for all your jails, just ensure your /etc and
> /usr/local are private only to said jails.
>
> This way you only need to rebuild the world once, although you'll still
> have to run mergemaster on each jail.

Well that's is very easy and very fast. I just need to run a "for do done".

What's take time is to rebuild apache/subversion/neon/etc... with
differents options in each jail.

But well...it's work. ;-)

Happy holidays and merry Christmas !!!!

kkk


> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"
--
Albert SHIH
DIO batiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
ven 23 déc 2011 21:56:12 CET

krad

unread,
Dec 23, 2011, 7:05:15 PM12/23/11
to
CCache is your friend when updating ports
0 new messages