Bug 99274 - rpm as root fails with kernel 2.6.0-0.test1.1.25 running
Summary: rpm as root fails with kernel 2.6.0-0.test1.1.25 running
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: db4
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-07-16 20:47 UTC by Matt Domsch
Modified: 2007-04-18 16:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-07-17 23:26:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Matt Domsch 2003-07-16 20:47:59 UTC
Description of problem:
Running rpm commands as root fails, running as a normal user succeeds as best it
can for that user.  Running with kernel 2.6.0-0.test1.25 and rpm-4.2-0.69.

# rpm -q initscripts
(18 seconds elapse)
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm

As a normal user:

[mdomsch@D5JPLF11]$ time rpm -q initscripts
initscripts-7.28-1
 
real    0m0.366s
user    0m0.032s
sys     0m0.014s


Version-Release number of selected component (if applicable):
rpm-4.2-0.69
kernel-2.6.0-0.test1.1.25

How reproducible:
always

Steps to Reproduce:
1. install above packages on up2date RHL9 system
2. run rpm commands as root
3.
    
Actual results:
commands fail as above

Expected results:
commands work

Additional info:

Comment 1 Matt Domsch 2003-07-17 03:40:34 UTC
I see now on linux-kernel that this is well understood to be a db4 and O_DIRECT
problem, not specifically an RPM problem.  Changing to db4.  I didn't see a
duplicate, but if so, please mark this as such and close.

Comment 2 Jeff Johnson 2003-07-17 23:26:39 UTC
Yup, upgrade to rpm-4.2-1 packages from
    ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.2.x


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