Bug 145062 - Libraries in /usr/lib, binaries in /sbin?
Libraries in /usr/lib, binaries in /sbin?
Product: Red Hat Cluster Suite
Classification: Red Hat
Component: magma (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Chris Feist
Cluster QE
Depends On:
Blocks: 144795
  Show dependency treegraph
Reported: 2005-01-13 19:20 EST by Lon Hohberger
Modified: 2009-04-16 16:02 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-08 13:15:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Lon Hohberger 2005-01-13 19:20:30 EST
Libraries (magma, ccs, dlm, etc.) are currently placed in /usr/lib. 
This made sense when binaries were also placed in /usr/sbin, but since
they are now in /sbin, we need to move the libraries back to /lib.

Furthermore, magma-plugins need to be moved to /lib/magma, and they
need to be renamed to "magma_*.so" to match up with existing
precedents set by libipt and pam.
Comment 3 Lon Hohberger 2005-01-28 14:59:55 EST
magma now supports building and installing static + dynamic libs in
different locations.  e.g.:

./configure --libdir=/lib --slibdir=/usr/lib

The above would be sufficient for magma, but other libraries may still
need to be moved around.  This change affects magma and magma-plugins,
but none of the other libs in /usr/lib (e.g. libdlm, libccs, libgulm...)
Comment 4 Lon Hohberger 2005-01-28 15:13:30 EST
Tossing over to cfeist.  It's a build/packaging issue now, at least,
as far as magma is concerned.

Comment 5 Chris Feist 2005-01-28 16:44:13 EST
I've updated the specfiles for beehive and they've been built.

Waiting on confirmation that they have been built successfully.
Comment 6 Chris Feist 2005-01-31 18:30:43 EST
I've verified the latest builds and they contain the magma &
magma-plugins libraries in the correct places.

Comment 7 Derek Anderson 2005-03-08 13:15:15 EST
Changing to closed.

[root@link-12 ~]# magma_tool list
Magma: Checking plugins in /lib/magma

File            Status  Message
----            ------  -------
magma_gulm.so   [OK]    GuLM Plugin v1.0
magma_sm.so     [OK]    CMAN/SM Plugin v1.1.2

Magma: 2 plugins available
[root@link-12 ~]# magma_tool config libdir
[root@link-12 ~]# magma_tool config slibdir
[root@link-12 ~]# magma_tool config plugindir
[root@link-12 ~]# ls -l /lib/magma
total 48
-rwxr-xr-x  1 root root 27576 Mar  4 12:49 magma_gulm.so
-rwxr-xr-x  1 root root 18656 Mar  4 12:49 magma_sm.so

Note You need to log in before you can comment on or make changes to this bug.