Bug 79734
Summary: | rpm segfaults when installing mysql-server | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Ian Collier <imc> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-02-26 17:19:32 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ian Collier
2002-12-16 12:33:41 UTC
Are you using LDAP passwords by any chance? If so you need to run nscd. In fact, are you running nscd? Afraid I don't know what "LDAP passwords" is. There is no LDAP server on the network. Passwords of local users are stored in /etc/shadow; those of NIS users are inline in the NIS passwd file. The "mysql" user in the NIS domain has no password (password field is "*"). nscd is installed but not referenced in any runlevel. imc Sanity check: What happens if you start nscd ("service nscd start")? Apologies for the delay, but it wasn't possible to test on the original
machine as it was required to be kept up and running.
> What happens if you start nscd ("service nscd start")?
# service nscd start
Starting nscd: [ OK ]
# rpm -ivh mysql-server-3.23.54a-4.i386.rpm
warning: mysql-server-3.23.54a-4.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
warning: group mysql does not exist - using root
warning: group mysql does not exist - using root
warning: group mysql does not exist - using root
1:mysql-server ########################################### [100%]
So this did avoid the segfault and install the package.
Thinks... could it be the missing group that is the problem?
Answer: nope - still segfaults if nscd is not running even when the group
exists. Installation is successful without warnings if nscd is running.
If problem depends on whether nscd is running, then this is almost certainly the LDAP lookup problem which affects statically linked binaries like /bin/rpm. BTW, doing rpm --import /usr/share/doc/rpm-4*/RPM-GPG-KEY will make the NOKEY warning go away. |