Go to file
Minfei Huang 7acaa304f6 Fix the warning if the target path is bind mount in Atomic
kdump will raise the warning in Atomic, if the path is bind mounted
directory. The reason why causes this issue is kdump cannt parse the
bind mounted directory.

To correct dumping target, we can construct the real dumping path in
Atomic, which contains two part, one bind mounted path, the other
specified dump target.

Following is an example:
    -bash-4.2# cat /etc/kdump.conf | grep ^path
    path /var/crash

    -bash-4.2# findmnt /var | tail -n 1 | awk '{print $2}'
    /dev/mapper/atomicos-root[/ostree/deploy/rhel-atomic-host/var]

    -bash-4.2# findmnt -v /var | tail -n 1 | awk '{print $2}'
    /dev/mapper/atomicos-root

Then we can found it that the real path of dumping vmcore is
/ostree/deploy/rhel-atomic-host/var/crash.

To fix this issue, we can replace the target path as the real path which
is from above parsing.

Signed-off-by: Minfei Huang <mhuang@redhat.com>
Acked-by: Dave Young <dyoung@redhat.com>
Acked-by: Baoquan He <bhe@redhat.com>
2015-04-21 10:58:00 +08:00
anaconda-addon
.gitignore Release 2.0.8-8 2015-02-15 14:39:31 +08:00
98-kexec.rules udev-rules: Restart kdump service on cpu ADD/REMOVE events 2014-09-15 21:55:07 +08:00
dracut-kdump-capture.service
dracut-kdump-emergency.service
dracut-kdump-error-handler.service
dracut-kdump-error-handler.sh Revert "execute kdump_post after do_default_action" 2015-04-08 15:50:16 +08:00
dracut-kdump.sh Revert "execute kdump_post after do_default_action" 2015-04-08 15:50:16 +08:00
dracut-module-setup.sh Remove duplicate slash in save path 2015-04-21 10:56:03 +08:00
dracut-monitor_dd_progress
fadump-howto.txt
kdump-dep-generator.sh
kdump-in-cluster-environment.txt
kdump-lib-initramfs.sh Revert "execute kdump_post after do_default_action" 2015-04-08 15:50:16 +08:00
kdump-lib.sh Fix the warning if the target path is bind mount in Atomic 2015-04-21 10:58:00 +08:00
kdump.conf
kdump.conf.5
kdump.service
kdump.sysconfig
kdump.sysconfig.i386 kdumpctl: adjust the boot dir if kernel is put in sub dir of /boot 2015-01-30 14:53:34 +08:00
kdump.sysconfig.ppc64 kdumpctl: adjust the boot dir if kernel is put in sub dir of /boot 2015-01-30 14:53:34 +08:00
kdump.sysconfig.ppc64le kdumpctl: adjust the boot dir if kernel is put in sub dir of /boot 2015-01-30 14:53:34 +08:00
kdump.sysconfig.s390x kdumpctl: adjust the boot dir if kernel is put in sub dir of /boot 2015-01-30 14:53:34 +08:00
kdump.sysconfig.x86_64 kdumpctl: adjust the boot dir if kernel is put in sub dir of /boot 2015-01-30 14:53:34 +08:00
kdumpctl kdump-lib: Add new function to judge the system is Atomic or not 2015-04-21 10:57:28 +08:00
kexec-kdump-howto.txt kdumpctl: adjust the boot dir if kernel is put in sub dir of /boot 2015-01-30 14:53:34 +08:00
kexec-tools-2.0.3-disable-kexec-test.patch
kexec-tools-2.0.7-kexec-ppc64-disabling-exception-handling-when-buildi.patch
kexec-tools-2.0.7-kexec-ppc64-move-to-device-tree-version-17.patch
kexec-tools-2.0.7-ppc64-kdump-Fix-ELF-header-endianess.patch ppc64/kdump: Fix ELF header endianess 2014-09-15 21:55:04 +08:00
kexec-tools-2.0.7-Provide-an-option-to-use-new-kexec-system-call.patch
kexec-tools.spec Release 2.0.8-9 2015-04-09 16:04:27 +08:00
mkdumprd Fix the warning if the target path is bind mount in Atomic 2015-04-21 10:58:00 +08:00
mkdumprd.8
README
rhcrashkernel-param
sources Release 2.0.8-8 2015-02-15 14:39:31 +08:00
zanata-notes.txt

Adding a patch to kexec-tools
=============================
There is a mailing list kexec@lists.fedoraproject.org where all the dicussion
related to fedora kexec-tools happen. All the patches are posted there for
inclusion and committed to kexec-tools after review.

So if you want your patches to be included in fedora kexec-tools package,
post these to kexec@lists.fedoraproject.org.

One can subscribe to list and browse through archives here.

https://admin.fedoraproject.org/mailman/listinfo/kexec