[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RPM is misbehaving again.
- To: Linux-IL Mailing list <linux-il(at-nospam)cs.huji.ac.il>
- Subject: Re: RPM is misbehaving again.
- From: Oded Arbel <odeda-linux-il(at-nospam)betalfa.org.il>
- Date: Tue, 30 Oct 2001 17:10:57 +0200 (IST)
- In-Reply-To: <Pine.LNX.4.30.0110301641170.32212-100000@europa.betalfa.org.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Ok list, in a stroke of genius (ahmm.. :-) I renamed nsswitch.conf. now
rpm is working properly. how come ? I don't want to have to remove
nsswitch everytime I play with RPMs !
:-(
Oded
On Tue, 30 Oct 2001, Oded Arbel wrote:
> From: Oded Arbel <odeda-linux-il@betalfa.org.il>
> To: Linux-IL Mailing list <linux-il@cs.huji.ac.il>
> Date: Tue, 30 Oct 2001 17:01:47 +0200 (IST)
> Subject: RPM is misbehaving again.
>
> Hi list.
>
> I got the "rpm segmentation fault" problem again. I remember discussing
> this in the list (was it my problem, the last time, or somebody else ? I
> can't seem to recall) but searching both mail archives produced zero
> results. similar results I got from goolge : nil.
> The most frequent response to a segfault is to rebuild the RPM database -
> done that : three times.
>
> so what happens - I try to do something other the queries (those work ok),
> and rpm segfaults right after it finishes with the scripts. running strace
> I get the following output (at the end of it all) :
> <paste>
> open("/etc/resolv.conf", O_RDONLY) = 14
> fstat64(14, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x404ce000
> read(14, "search lan.betalfa.org.il \nnames"..., 4096) = 50
> read(14, "", 4096) = 0
> close(14) = 0
> munmap(0x404ce000, 4096) = 0
> socket(PF_UNIX, SOCK_STREAM, 0) = 14
> connect(14, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1
> ENOENT (No such file or directory)
> close(14) = 0
> open("/etc/nsswitch.conf", O_RDONLY) = 14
> fstat64(14, {st_mode=S_IFREG|0644, st_size=1788, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x404ce000
> read(14, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1788
> read(14, "", 4096) = 0
> close(14) = 0
> munmap(0x404ce000, 4096) = 0
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++
> </paste>
>
> it always segfaults at the same place - when munmaping the nsswitch.conf.
> also - looking at the strace output I see that rpm is trying to load a
> library called libdes425.so.3 from a directory under /home/florin (which,
> of course, I don't have on this computer) - someone forgot a hardcoded
> path somewhere ? weird.
>
> one more thing that may (a very weak may) be related, since its nsswitch
> that trashes rpm: I'm using ldap authentication through nsswitch and
> pam_stack. might this has anything to do with it ?
>
> Oded
>
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il