Bug 473333

Summary: some krb5 libraries should move to /lib, because they are used by /lib/libssl.so*
Product: [Fedora] Fedora Reporter: Till Maas <opensource>
Component: krb5Assignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: nalin
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-07 11:30:13 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Till Maas 2008-11-27 14:50:37 EST
Description of problem:

Openssl links to libraries from krb5. Openssl is located in /lib, which is guaranteed to be on the root filesystem. Therefore it may occur that a program is linked to openssl run when /usr is not yet or anymore mounted and therefore it will fail.

Here is a list of these libraries I found:
$ ldd /lib/libssl.so.6| grep usr
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00294000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x03481000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00dc0000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00de8000)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. ldd /lib/libssl.so.6| grep usr
Actual results:
There are libraries from krb5 displayed.

Expected results:
No libraries from krb5 should be displayed.

Additional info:
.so / .a files should still live in /usr/lib, you can find some example code to move these files in the popt.spec file:

If you want, I can prepare a patch against the spec to fix this.
Comment 1 Nalin Dahyabhai 2009-04-07 11:30:13 EDT
I'm pretty sure this is sorted in the devel branch in CVS (libdes425, libgssapi_krb5, libgssrpc, libk5crypto, libkrb5, libkrb5support moved -- in devel the krb4 bits are being disabled in preparation for 1.7 dropping them altogether, so libkrb4 isn't anywhere), which will show up in 1.6.3-100 or later.  Marking as closed, fixed in Raw Hide.