Red Hat Bugzilla – Bug 500711
The kdump initrd file is rebuilt on every reboot.
Last modified: 2009-05-13 16:51:21 EDT
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):
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
initramfs gets rebuild on every reboot
initramfs gets rebuild once, but not on future reboots (since the required initramfs content has not changed.)
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.
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