Bug 797842

Summary: nss-pam-ldapd : Conflicts with nss_ldap
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: nss-pam-ldapdAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: devurandom, jhrozek, nalin
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nss-pam-ldapd-0.7.16-4.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-18 16:34:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael Schwendt 2012-02-27 11:09:53 UTC
WARNING: file mode conflict
    => /usr/lib/libnss_ldap.so
    => nss-pam-ldapd-0.7.14-3.fc17.i686 nss_ldap-265-10.fc17.i686

[semi-automated bug report]

Comment 1 Jakub Hrozek 2012-06-07 05:40:20 UTC
This is kinda inevitable, they both provide the same NSS module which needs to be placed in libdir.

I am planning on retiring nss_ldap anyway in favor of nss-pam-ldapd, which would make this problem go away.

Comment 2 Michael Schwendt 2012-06-07 07:51:51 UTC
> This is kinda inevitable

Not true. Basically, it is just conflicting file permissions, which is something to avoid whenever including a file in more than one package:


    $ rpmls -p nss_ldap-265-10.fc17.i686.rpm |grep libnss
    -rwxr-xr-x  /usr/lib/libnss_ldap-265.so
=>  lrwxr-xr-x  /usr/lib/libnss_ldap.so
    lrwxr-xr-x  /usr/lib/libnss_ldap.so.2

    $ rpmls -p nss-pam-ldapd-0.7.16-2.fc17.i686.rpm |grep libnss
    -rwxr-xr-x  /lib/libnss_ldap.so.2
=>  lrwxrwxrwx  /usr/lib/libnss_ldap.so


https://fedoraproject.org/wiki/Packaging:Conflicts#Implicit_Conflicts

Comment 3 Michael Schwendt 2012-06-07 07:54:56 UTC
That both packages also conflict in what they provide is a second issue:
libnss_ldap.so.2  
libnss_ldap.so.2(EXPORTED)  

https://fedoraproject.org/wiki/Packaging:Conflicts#Implicit_Conflicts

Comment 4 Jakub Hrozek 2012-06-07 08:02:18 UTC
Ah, thank you, I didn't realize this. We're currently deciding whether to keep nss_ldap in Fedora, if we do, I'll fix these issues.

Comment 5 Jakub Hrozek 2012-06-14 21:40:20 UTC
It seems like there is not much opposition against retiring nss_ldap:
https://lists.fedoraproject.org/pipermail/devel/2012-June/168365.html

I'm going to be away now, but I'll retire the package when I'm back in mid-July.

Comment 6 Nalin Dahyabhai 2013-01-18 16:34:26 UTC
Catching up on bookkeeping - the Obsoletes: was added in nss-pam-ldapd-0.7.16-4.fc18, so I'm closing this one.