Hi, Joe
On 02/26/16 at 04:09pm, Joe Lawrence wrote:
Hi Dave,
Stratus has a question about monitoring various error scenarios out of
kdump-lib-initramfs.sh.
This file looks to be Red Hat specific (at least it's not in my upstream
kexec-tools git tree), so I wasn't sure where to direct the question.
Feel free to point us in the direction of an appropriate mailing list,
bugzilla, etc.
We are using Fedora kexec mailing list as the upstream of kdump scripts.
see below page:
https://lists.fedoraproject.org/admin/lists/kexec.lists.fedoraproject.org/
Basically we're interested in reporting kdump progress over IPMI,
including the mounting / creation of kdump directories, vmcore-dmesg and
vmcore files.
We could obviously modify kdump-lib-initramfs.sh directly to accomplish
this [1], but we were wondering if there was a cleaner approach -- for
example, functions in kdump-lib-initramfs.sh could return status or log
errors somewhere that we could read later.
We would gladly prototype and test examples if this is something that
could be reasonably supported.
[1]
https://paste.fedoraproject.org/330114/
The better way is to send patches to kexec(a)lists.fedoraproject.org
so that we can review and discuss it.
The latest code stays in Fedora kexec git tree, you can clone the tree by:
fedpkg clone -a kexec-tools
Thanks
Dave