[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] openssl and preserve_old_lib_notify pitfall
From: Mike Frysinger <vapier () gentoo ! org>
Date: 2010-09-30 19:09:45
Message-ID: 201009301509.45598.vapier () gentoo ! org
[Download RAW message or body]
On Thursday, September 30, 2010 13:32:07 Zac Medico wrote:
> The preserve_old_lib_notify message in postinst is invalid if the
> package doesn't actually own the file. It would be safer to check
> for the file in $D during preinst than to check in $ROOT in postinst
> like that function does.
that isnt how it works. the libs being preserved specifically are not part of
$D (not installed by src_install) and so there is no reference to check
against in pkg_preinst. only $ROOT.
> Also, if the openssl-0.9.8o-r2 gets pulled in later then it should
> bail out due to a file collision, since it's not allows for two
> different SLOTs to install the same file(s).
if "by later" you mean "a different emerge at a later point in time", then the
user did not read / follow his log, so end game there is PEBKAC
-mike
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic