Bug 500711 - The kdump initrd file is rebuilt on every reboot.
Summary: The kdump initrd file is rebuilt on every reboot.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kexec-tools
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Neil Horman
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-13 19:15 UTC by Robert N. Evans
Modified: 2009-05-13 20:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-13 20:51:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Robert N. Evans 2009-05-13 19:15:19 UTC
Description of problem:
There is a delay estimated to be 30-seconds every time the system reboots when the initramfs used for kdump gets needlessly rebuilt.

Version-Release number of selected component (if applicable):
kexec-tools-1.102pre-56.el5

How reproducible:
happens every time if pre-condition is present

Steps to Reproduce:
1. add an "extra-module" to the kdump config file
2. reboot the system
3. watch the initramfs get rebuild when services are started
  
Actual results:
initramfs gets rebuild on every reboot

Expected results:
initramfs gets rebuild once, but not on future reboots (since the required initramfs content has not changed.)


Additional info:
This is a regression from the way this worked in RHEL5.2.

According to https://bugzilla.redhat.com/show_bug.cgi?id=459614#c6 this behaviour was intentionally introduced.

Comment 1 Neil Horman 2009-05-13 20:51:21 UTC
yes, it was introduced on request from richard johnson at stratus.  If an extra module is specified, it can't be conclusively proven to not have have been updated if that module isn't in the kernel tree from the last build, so we universally force a rebuild if extra_modules are being added to be safe


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