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: Always 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~ 33,35c33,35 < passwd: files nisplus < shadow: files nisplus < group: files nisplus --- > passwd: files nisplus ldap > shadow: files nisplus ldap > group: files nisplus ldap 53c53 < protocols: files nisplus --- > protocols: files nisplus ldap 55c55 < services: files nisplus --- > services: files nisplus ldap 57c57 < netgroup: files nisplus --- > netgroup: files nisplus ldap 61c61 < automount: files nisplus --- > automount: files nisplus ldap ----------- An example RPM that I had this problem with was: ftp://apt.unl.edu/apt/8.0/RPMS.kde3-test/lame-libs-3.93.1-0.2.8.0.i386.rpm
*** This bug has been marked as a duplicate of 84630 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.