Bug 83236
| Summary: | rpm leaves behind __db.00* lockfiles after any rpm query | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | M Glass <multisupport> |
| Component: | rpm | Assignee: | Jeff Johnson <jbj> |
| Status: | CLOSED WORKSFORME | QA Contact: | Mike McLean <mikem> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 8.0 | CC: | noudlnx |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-01-31 18:27:56 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
M Glass
2003-01-31 18:19:25 UTC
Note carefully:
The __db files are not "lock files" but files that contain locks.
The existence of __db files is not your problem, the existence
of stale locks is.
There are 2 main causes of stale locks.
1) missed SIGCHLD causes rpm-4.1 to "hang"
If using rpm-4.1-1.06, upgrade to rpm-4.1-9 packages
from ftp://people.redhat.com/jbj/test-4.1, the missed
SIGCHLD is fixed there.
2) abnormal termination (e.g. "kill -9") leaves stale locks
It's up to the user to do "rm -f /var/lib/rpm/__db*" in this
case.
A more complete description is in bugzilla, look for the summary
rpm-4.1 hangs: READ THIS FIRST
|