Bug 561544 - nss-softokn-freebl library needs to be in /lib{64}
Summary: nss-softokn-freebl library needs to be in /lib{64}
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nss-softokn
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Elio Maldonado Batiz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 572724 (view as bug list)
Depends On:
Blocks: 552434
TreeView+ depends on / blocked
 
Reported: 2010-02-03 21:28 UTC by Elio Maldonado Batiz
Modified: 2010-03-16 00:48 UTC (History)
5 users (show)

Fixed In Version: nss-softokn-3.12.4-15.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-11 13:32:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Elio Maldonado Batiz 2010-02-03 21:28:31 UTC
Description of problem: libcrypt is in /lib, is linked against this library. This library *needs* to be in /lib{64}, not /usr/lib{64}. Anaconda would be affected by this proposed fix.

Version-Release number of selected component (if applicable): nss-softokn-3.12.4-13.

How reproducible: Always

Steps to Reproduce: See #rhbz 558649
  
Actual results:

Expected results:

Additional info: Installing when you have separate / and /usr partitions should show problems I believe should show problems.

Comment 1 Elio Maldonado Batiz 2010-02-03 21:33:54 UTC
Created attachment 388654 [details]
Changes to move libfreebl.so to /usr/lib{64}

This is fix as the same as the one Bug 558949

Comment 2 Maurizio Paolini 2010-03-03 17:12:52 UTC
(In reply to comment #0)
> Description of problem: libcrypt is in /lib, is linked against this library.
> This library *needs* to be in /lib{64}, not /usr/lib{64}. Anaconda would be
> affected by this proposed fix.

On fedora 12 /sbin/sulogin depends on nss-softokn-freebl, which is located
in /usr/lib

Notice that sulogin is called in rc.sysinit when (e.g.) fsck fails to recover
a partition.  In such case only the root partition is mounted, hence 
sulogin fails in systems that have /usr in a separate partition causing
an infinite reboot loop.

For this reason the severity of this problem should IMHO be raised to high.

Comment 4 Fedora Update System 2010-03-07 17:41:19 UTC
nss-softokn-3.12.4-15.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/nss-softokn-3.12.4-15.fc13

Comment 5 Fedora Update System 2010-03-07 17:41:25 UTC
nss-softokn-3.12.4-15.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/nss-softokn-3.12.4-15.fc12

Comment 6 Fedora Update System 2010-03-09 03:12:07 UTC
nss-softokn-3.12.4-15.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update nss-softokn'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/nss-softokn-3.12.4-15.fc13

Comment 7 Fedora Update System 2010-03-09 03:30:05 UTC
nss-softokn-3.12.4-15.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update nss-softokn'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/nss-softokn-3.12.4-15.fc12

Comment 8 Fedora Update System 2010-03-11 13:32:32 UTC
nss-softokn-3.12.4-15.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Elio Maldonado Batiz 2010-03-11 23:01:39 UTC
*** Bug 572724 has been marked as a duplicate of this bug. ***

Comment 10 Maurizio Paolini 2010-03-15 15:55:21 UTC
actually you need to update specifically the nss-softokn-freebl, instead
of nss-softokn:

yum --enablerepo=updates-testing update nss-softokn-freebl

otherwise the system will not update nss-softokn-freebl on a system on which
updates-testing is not enabled by default...

However I have a question: after updating I get the library libfreebl3.so
correctly placed in /lib and pointed with a symlink from /usr/lib.
If I "ldd /sbin/sulogin" the result is however still the following:

# ldd /sbin/sulogin
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00bf8000)
        libc.so.6 => /lib/libc.so.6 (0x00179000)
        libfreebl3.so => /usr/lib/libfreebl3.so (0x00ba7000)
        /lib/ld-linux.so.2 (0x00157000)
        libdl.so.2 => /lib/libdl.so.2 (0x0031c000)

And I suspect that in this way in case of a call to sulogin from rc.sysinit
without /usr mounted would not work!
Perhaps a call to "ldconfig" is necessary in the postinstall script...

Comment 11 Fedora Update System 2010-03-16 00:48:13 UTC
nss-softokn-3.12.4-15.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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