I installed Wolverine and noticed that rpm -Uhv command fail with a
core dump. On inspection of the core and little backtracing, it seems
that rpm is dumping core on line 1043 of lib/install.c in rpm-4.0.2.
It is the line that reads: (void)getpwnam("root");
I dunno if this is a glibc error, something specific to my system somewhere
or an rpm problem (since getpwnam returns a struct passwd *?!?!?)
Are you sure the seg fault is at line 1043? If so, this isn't an rpm problem.
If you can't look up root, then you need to look at how your machine
has configured password services, and what glibc packages you have installed.
FWIW, rpm is one of the only statically linked binaries on a system
and that can lead to problems when, for example, a glibc structure changes
incompatibly. However, I'm unaware (and it's a BIG noise when it happens :-) of
any incompatibility problems since glibc-2.1.92.
Thanks!!!!! Your hint pointed me in the right direction. Somehow (I don't
remember EVER messing with /etc/nsswitch.conf) the passwd and shadow lines had
ldap before files in the lines. Example: passwd ldap files nisplus nis
I removed ldap, and all works, now! Thanks and sorry to bother ya.