Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] OpenSSL 0.9.8 upgrade suggestion

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] OpenSSL 0.9.8 upgrade suggestion
  • Date: Sun, 11 Sep 2005 17:54:08 -0700

On Sun, Sep 11, 2005 at 08:41:39PM -0400, Sergey A. Lipnevich wrote:
> Quoting Andrew <afrayedknot AT thefrayedknot.armory.com>:
>
> > Is there a way to ensure that spells always link against the newer
> > library and not the older one? I think if thats possible then having
>
> Yes there is. The new spells are supposed to use links, not the real SO
> name:
> /usr/lib/libssl.so -> libssl.so.0
> /usr/lib/libssl.so.0 -> libssl.so.0.9.7 (or .8 for the new version)
>
> > the 0.9.7-so spell would be preferable and avoid breakage. On updates
> > it could up-trigger anything thats still linked against it or dispel
> > itself
> > if nothing is left. Sort of a self-healing type of thing.
>
> Exactly.
>
> > Also, wrt to ordering, openssl-0.9.7-so could cast before openssl,
> > and openssl can just be careful in PRE_INSTALL not to remove the 0.9.7
> > libs. Theres a few possible solutions for that. Motivation being to
> > minimize the time where the 0.9.7 so is missing.
>
> Old openssl would have to dispel the same files as installed by
> openssl-0.9.7-so, so I think it's better to have
> openssl-0.9.7-so/TRIGGERS with
> "on_cast openssl cast_self".
>
> My understanding is that what Seth proposing is to extend this kind of
> work-around for any spell that wishes to use it.

Having the trigger do it has a few problems, most notably, that the time
where the 0.9.7 library around can be quite long.

What im suggesting is openssl be smart enough not to dispel the old .so
if the openssl-0.9.7-so spell is around and avoid having any time delta
at all.

-Andrew


--
__________________________________________________________________________
|Andrew D. Stitt | astitt at sourcemage.org |
|irc: afrayedknot | afrayedknot at t.armory.com |
|aim: thefrayedknot or iteratorplusplus | acedit at armory.com |
|Sorcery Team Lead | ftp://t.armory.com/ |
--------------------------------------------------------------------------

Attachment: pgpVWDOh1adO9.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page