Bug 483092 - misconfigured kdump.conf forces mkdumprd to leave incomplete builds in /tmp
misconfigured kdump.conf forces mkdumprd to leave incomplete builds in /tmp
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kexec-tools (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Neil Horman
Red Hat Kernel QE team
Depends On:
  Show dependency treegraph
Reported: 2009-01-29 12:19 EST by Subhendu Ghosh
Modified: 2016-10-04 00:28 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 600590 (view as bug list)
Last Closed: 2009-09-02 05:13:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to consolidate exit cleanup in mkdumprd (8.08 KB, patch)
2009-02-12 10:02 EST, Neil Horman
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1258 normal SHIPPED_LIVE kexec-tools bug fix and enhancement update 2009-09-01 05:09:40 EDT

  None (edit)
Description Subhendu Ghosh 2009-01-29 12:19:45 EST
Description of problem:
When /etc/kdump.conf contains a target that is not reachable, mkdumprd bails when it tries to create the initrd.

mkdumprd will keep getting invoked every time the system reboots or the kdump service is started/restarted since the kdump.conf timestamp is greater than the kdump-initrd. This causes /tmp to start filling up with incomplete initrd builds.

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

How reproducible:
Every time

Steps to Reproduce:
1. configure kdump
2. update /etc/kdump with an invalid target
3. after failure - note build remnants in /tmp
Actual results:
/tmp contains an incomplete initrd build

Expected results:
incomplete initrd builds should get cleaned out after error logging

Additional info:
Comment 1 Neil Horman 2009-02-12 10:02:12 EST
Created attachment 331695 [details]
patch to consolidate exit cleanup in mkdumprd

hey can you give this patch a spin and confirm that it fixes your problem for me please?  Thanks!
Comment 2 Neil Horman 2009-03-23 07:10:46 EDT
ping, any update here?
Comment 3 Subhendu Ghosh 2009-04-24 15:03:25 EDT
sorry - will provide update asap
Comment 4 Neil Horman 2009-04-24 16:25:30 EDT
ok, thanks!
Comment 5 Subhendu Ghosh 2009-04-26 23:04:21 EDT
patch works.

entered bogus entry in kdump.conf
ran "service kdump restart"
no initrd.* left when using patched mkdumprd
Comment 9 errata-xmlrpc 2009-09-02 05:13:59 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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