Re: ldconfig -X in scriptlets?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-08-05 at 17:07 +0200, Miroslav Lichvar wrote:
> Hi,
> 
> I've recently come across an ldconfig issue when updating libraries.
> Apparently rpm doesn't always call ldconfig in %postun, I've filed bug
> #513224 for that. It doesn't seem to be a real bug though.
> 
> The problem is that when ldconfig in %post is called, there are both
> old and new libraries on disk. If ldconfig thinks that the older
> library is newer (according to some internal sorting function) it
> will replace the packaged symlink with one that points to the other
> library. After the older library is removed, next ldconfig call will
> change the symlink back. But is this correct? If %post scriptlet had a
> code that used the library, it would actually used the older one.

Umm, in %post the old package has already been removed, so there's only
the new one available...?

https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Scriptlet_Ordering
-- 
Jussi Lehtola
Fedora Project Contributor
jussilehtola@xxxxxxxxxxxxxxxxx

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux