Broken symlink /usr/lib/libnss_ldap.so in precise

Bug #1020152 reported by Goswin von Brederlow
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libnss-ldap (Ubuntu)
Fix Released
High
Unassigned

Bug Description

lrwxrwxrwx 1 root root 26 2012-07-02 17:05 /usr/lib/libnss_ldap.so -> ../../lib/libnss_ldap.so.2

but

-rw-r--r-- 1 root root 84K 2011-12-30 04:21 /lib/x86_64-linux-gnu/libnss_ldap-2.13.so
lrwxrwxrwx 1 root root 19 2011-12-30 04:21 /lib/x86_64-linux-gnu/libnss_ldap.so.2 -> libnss_ldap-2.13.so

Tags: multiarch
Revision history for this message
Robie Basak (racb) wrote :

Reproduced on precise.

Changed in libnss-ldap (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Robie Basak (racb) wrote :

Also exists on current Quantal. The culprit is debian/libnss-ldap.links, which contains the single line "/lib/libnss_ldap.so.2 usr/lib/libnss_ldap.so". But the package is "Multi-Arch: same".

tags: added: multiarch
Revision history for this message
Robie Basak (racb) wrote :

Debdiff for Quantal attached.

Sponsors: I assumed that /usr/lib/<arch> is where the symlink needs to be, pointing to /lib/<arch>/libnss-ldap..., since that's what libc6-dev does with its nss modules also. Since this package is source format 1.0, uses cdbs and I can't depend on dh-exec since that's in universe in Precise (and we may want to SRU), I figured a fix by moving from dh_link to a cdbs override rule in debian/rules would be appropriate.

We supplied the original multiarch patch to Debian, so I thought it would be appropriate for us to send a fix to them as well. I will send the fix now. Since they're in freeze, I don't know whether we should wait for them and merge or not?

Revision history for this message
Robie Basak (racb) wrote :

Scrap that. Debian are already on top of it. The patch above would perhaps be suitable as the basis for a Precise SRU. It will also fix the problem in Quantal but a merge from Debian would be more appropriate since they have fixed it already.

Revision history for this message
Robie Basak (racb) wrote :

Sponsors: the merge looks quite involved. Would this fix be appropriate to upload to Quantal for now?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libnss-ldap - 264-2.2ubuntu4

---------------
libnss-ldap (264-2.2ubuntu4) quantal; urgency=low

  * Fix /usr/lib/libnss_ldap.so broken symlink and location, which was missed
    when multiarch support was added (LP: #1020152).
 -- Robie Basak <email address hidden> Wed, 18 Jul 2012 14:20:27 +0100

Changed in libnss-ldap (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.