From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 Description of problem: Here's some background on my environment: it is a Red Hat Linux 8.0 (only version tested) install , set up to authenticate against an openldap server on a remote machine. Authconfig has been used to set up authentication, but nscd service is not running (this was accidental and is not the actual problem). When I try to install almost any 3rd party source rpms (in particular with files owned / or with groups not known to my ldap server or local /etc/passwd /etc/group files), I get a segmentation fault. An example can be found at http://twtelecom.dl.sourceforge.net/sourceforge/kxmleditor/kxmleditor-0.8.1-0.1.src.rpm. I've done an rpm -vv --install <package> and normally will get output as such: D: ============== kxmleditor-0.8.1-0.1.src.rpm D: Expected size: 1038437 = lead(96)+sigs(100)+pad(4)+data(1038237) D: Actual size: 1038405 D: kxmleditor-0.8.1-0.1.src.rpm: MD5 digest: OK (fdee01fecd174d0f4b8a6c7b22a9dbb5) D: added source package [0] D: found 1 source and 0 binary packages D: Expected size: 1038437 = lead(96)+sigs(100)+pad(4)+data(1038237) D: Actual size: 1038405 Segmentation fault I have also done some stracing as included in the attached file. It's my assumption that for some reason, without nscd running, doesn't correctly figure out that the user/group, "lvanek" in this case, does not exist and then just dies. I guess my complaint is that it should die a bit more gracefully with an appropriate error message instead of a seg fault. This problem really annoyed me until somehow I figured out that nscd was in fact not running (my fault totally), by pure luck. On one other note, this bug *may* be loosely related to bug #84620. Kendal. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Install RedHat 8.0 2. Set up authentication to LDAP server using authconfig, but don't select the option to cache information. (or just simply disable nscd, like I accidentally did) 3. Try to install just about any 3rd party source rpm (that was build with the files owned by a unknown user / and/or group. Actual Results: Segmentation Fault Expected Results: A useful error message, without having to do lots of stracing, and a graceful exit. Additional info:
Created attachment 90197 [details] strace segments describing the problem a bit more. here's the promised attachment with the strace segment that I felt were relevant.
Run nscd, required for statically linked executables like /bin/rpm when using LDAP. This is a know LDAP problem.
*** Bug 84620 has been marked as a duplicate of this bug. ***