b156ef0d68
depends on 98selinux if 1st kernel selinux is enabled so we can load_policy and correctly label the vmcore/vmcore-dmesg files. Since dracut always mount rootfs, the 98selinux will chroot and load_policy, so this will be ok for Fedora. In case rootfs mount failure we have to check and relable vmcore files, will add the kdumpctl relabeling code in another patch. add 'dracut_args --printsize' to /etc/kdump.conf, it shows below added size: selinux install size: 16k Tested on F19: With this patch applied, vmcore selinux attr is ok. v1->v2: use sestatus 2>/dev/null to mute error messages Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> |
||
---|---|---|
po | ||
.gitignore | ||
98-kexec.rules | ||
dracut-kdump.sh | ||
dracut-module-setup.sh | ||
dracut-monitor_dd_progress | ||
firstboot_kdump.py | ||
kdump.conf | ||
kdump.conf.5 | ||
kdump.init | ||
kdump.service | ||
kdump.sysconfig | ||
kdump.sysconfig.i386 | ||
kdump.sysconfig.ia64 | ||
kdump.sysconfig.ppc64 | ||
kdump.sysconfig.s390x | ||
kdump.sysconfig.x86_64 | ||
kdumpctl | ||
kexec-kdump-howto.txt | ||
kexec-tools-2.0.3-build-makedumpfile-eppic-shared-object.patch | ||
kexec-tools-2.0.3-disable-kexec-test.patch | ||
kexec-tools.spec | ||
mkdumprd | ||
mkdumprd.8 | ||
rhcrashkernel-param | ||
sources | ||
zanata-notes.txt |