Bug 57851 - rpm stops working permanently when disk space is temporarily exhausted
rpm stops working permanently when disk space is temporarily exhausted
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-12-28 02:07 EST by izv
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-12-28 02:07:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description izv 2001-12-28 02:07:44 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.2-15mdk i686)

Description of problem:
all rpm operations (including simple ones like rpm -q package) fail after
disk space is exhausted.  the problem continues even when more disk space
is available later.

removing a file /var/lib/rpm/__db.001 (zero size, presumably libdb temp
file) fixes the problem.

Version-Release number of selected component (if applicable):


How reproducible:
Sometimes

Steps to Reproduce:
1. fill up disk containing /var/lib/rpm so that there is no space remaining
2. run rpm -qa (it fails with an error message)
3. free up some disk space
4. run rpm -qa (it still fails with an error message, see below)


Actual Results:  rpmdb: unable to join the environment
error: db3 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily
unavailable (11)


Expected Results:  rpm prints out list of packages

Additional info:

removing the file /var/lib/rpm/__db.001 (zero size, presumably libdb temp
file) fixes the problem
Comment 1 Jeff Johnson 2001-12-28 12:04:01 EST
Try
	rm -f /var/lib/rpm/__db*
	rpm --rebuilddb
Please reopen this bug if the above does not fix.

Note You need to log in before you can comment on or make changes to this bug.