The kdump cannot dump the core in the correct directory in Atomic,
if set the path "/var/crash" in the /etc/kdump.conf. We found that
kdump cannot deal with the bind mounts correctly.
Fix this issue to make kdump dump core correctly.
v2:
- fix the issue to dump directory /var/crash correctly in Atomic.
- wrap the common function dump_common_fs to handle the dump core
- Add a new function to determine the directory is bind mounts or not
v1:
- fix the issue to dump directory /sysroot/var/crash instead of /sysroot/crash in Atomic
Minfei Huang (2):
dracut-moduel-setup: Filte the bind mounted directory in the Atomic
kdump-lib-initramfs: Dump the correct directory in the Atomic
kdump-lib-initramfs.sh | 91 +++++++++++++++++++++++++++++++++++++++++++-------
kdump-lib.sh | 43 +++++++++++++++++++++++-
2 files changed, 121 insertions(+), 13 deletions(-)
--
2.2.2