[SM-Discuss] OpenSSL 0.9.8 upgrade suggestion
Andrew
afrayedknot at thefrayedknot.armory.com
Sun Sep 11 20:54:08 EDT 2005
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/ |
--------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20050911/57a5e202/attachment.bin
More information about the SM-Discuss
mailing list