Bug 103698

Summary: rpmdb corruption can cause the system not to boot wrt, mkkerneldoth
Product: [Retired] Red Hat Linux Reporter: Need Real Name <jamie>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DEFERRED QA Contact: Mike McLean <mikem>
Severity: high Docs Contact:
Priority: medium    
Version: 9CC: jamie, rvokal
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: 2005-01-21 22:57:25 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 Need Real Name 2003-09-03 22:54:22 UTC
Description of problem:
corruption of rpm-db can lead to an unbootable system
wrt. /sbin/mkkerneldoth

at line 765 of /etc/rc.d/rc.sysinit /sbin/mkkerneldoth
is called. in my case there was rpm-db corruption which
lead to rpm -q hanging and in return the system, becoming 
unresponsive.

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

How reproducible:

Steps to Reproduce:
1. corrupt your rpmdb
2. boot
3. watch it hang
    
Actual results:
system hang's after 'Enabling swap partitions [OK]'
no information is given as to where the problem is.

Expected results:
the system booting, or at least some mention of where
the problem is. 

Additional info:

Comment 1 Bill Nottingham 2005-01-21 22:57:25 UTC
mkkerneldoth is not used in current (FC2+, RHEL4+) systems.

Not sure how one can detect that the rpm database is corrupted to
avoid this problem.