Red Hat Bugzilla – Bug 145062
Libraries in /usr/lib, binaries in /sbin?
Last modified: 2009-04-16 16:02:04 EDT
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.
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...)
Tossing over to cfeist. It's a build/packaging issue now, at least,
as far as magma is concerned.
I've updated the specfiles for beehive and they've been built.
Waiting on confirmation that they have been built successfully.
I've verified the latest builds and they contain the magma &
magma-plugins libraries in the correct places.
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
-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