acl-devel
[Top][All Lists]
Advanced

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

suboptimal library versioning of libacl and libattr


From: Kamil Dudka
Subject: suboptimal library versioning of libacl and libattr
Date: Mon, 15 Mar 2021 15:24:02 +0100

The library versioning scheme used for libacl and libattr causes problems 
while upgrading the libraries with rpm package manager.  The new libraries
are installed as:

    /lib64/libacl.so.1.1.230
    /lib64/libattr.so.1.1.250

... which is seen (by ldconfig) as older than originally installed libraries:

    /lib64/libacl.so.1.1.2253
    /lib64/libattr.so.1.1.2448

Consequently, if ldconfig is invoked after the new version of the library
is installed but before the old version of the library is removed, it 
incorrectly overwrites the already installed symlinks:

    /lib64/libacl.so.1
    /lib64/libattr.so.1

... such that they point to the old libraries again.  Then removing old 
versions of the libraries introduces dangling symlinks and all attempts
to load the libraries fail until ldconfig is invoked again.

Originally reported at:

    https://bugzilla.redhat.com/1938459#c9

Kamil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]