Description of problem: Cannot set a kdump_pre script in /etc/kdump.conf. Version-Release number of selected component (if applicable): /sbin/kexec -v kexec-tools-testing 20070330 released 30th March 2007 How reproducible: Always Steps to Reproduce: 1. Add kdump_pre some_script to /etc/kdump.conf 2. service kdump restart Actual results: Error "Unsupported type kdump_pre". Expected results: Should work! We need to be able to use both a kdump_pre and a kdump_post script. (As an aside, I have not gotten either of them to actually work even after fixing this bug, because no matter where I put the scripts, even if I list them in extra_bins in the kdump.conf file, the kdump kernel cannot actually find them to run. I'm surely missing something... please let me know what it is!) Additional info: There are two problems here. 1) /sbin/mkdumprd is missing a case for kdump_pre in the main loop that reads config_opt lines from kdump.conf and so drops into the code that produces that error message, which would normally be from an unsupported file system type. It should do nothing, the same as it does for kdump_post. 2) Also, /etc/rc.d/init.d/kdump does not check for kdump_pre or run it if there is one.
fixed in kexec-tools-1.102pre-19.el5. Also, just so that you know, the pre and post scripts are only meant to be run immeidately before and after a dump capture when configured to happen in the initramfs (i.e. an dump target must be specified in /etc/kdump.conf) *** This bug has been marked as a duplicate of 436982 ***