Bug 84620 - RPM crashes with ldap entries in /etc/nsswitch.conf
RPM crashes with ldap entries in /etc/nsswitch.conf
Status: CLOSED DUPLICATE of bug 84630
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-02-19 13:31 EST by Chad Cunningham
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 13:51:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chad Cunningham 2003-02-19 13:31:22 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211

Description of problem:

I have had numerous problems with segmentation faults while attempting to
install RPM's. I haven't seen a pattern with what rpm's cause this, some RPM's
install fine, others cause a segmentation fault. Using strace, I found that the
segfault occurs immediately after rpm reads /etc/nsswitch.conf. As I have made
changes to this to get information out of ldap, I figured it was worth a shot to
try and make it stock. Sure enough, after removing 'ldap' from the entries in
/etc/nsswitch.conf, several rpm's I had been unable to install worked fine. 

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

How reproducible:

Steps to Reproduce:
1. attempt to install rpm

Actual Results:  rpm segmentation fault

Expected Results:  installation of rpm

Additional info:

Here is a diff between my nsswitch.conf (that causes the segfaults) and the
stock version:

[root@hooloovoo archives]# diff /etc/nsswitch.conf /etc/nsswitch.conf~
< passwd:     files nisplus
< shadow:     files nisplus
< group:      files nisplus
> passwd:     files nisplus ldap
> shadow:     files nisplus ldap
> group:      files nisplus ldap
< protocols:  files nisplus
> protocols:  files nisplus ldap
< services:   files nisplus
> services:   files nisplus ldap
< netgroup:   files nisplus
> netgroup:   files nisplus ldap
< automount:  files nisplus
> automount:  files nisplus ldap


An example RPM that I had this problem with was: 

Comment 1 Jeff Johnson 2003-02-20 10:52:11 EST

*** This bug has been marked as a duplicate of 84630 ***
Comment 2 Red Hat Bugzilla 2006-02-21 13:51:53 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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