Unnamed repository
Currently in kdump.sh, we redirect stdout to stderr, because dracut pre-pivot service (which kdump.sh is running within) only output stderr to console. That behavior is defined in dracut-pre-pivot.service: [Service] ... StandardInput=null StandardOutput=syslog StandardError=syslog+console ... But during testing, it has been observed that systemd will cache stderr buffer, and first record to syslog (and it's own journal), then copy the logs to /dev/console. And this practice is somehow unexpected in our kdump script. We may have suppressed stdout/stderr that hasn't been write to /dev/console before we run a force reboot. With this change of redirecting stdout/stderr to /dev/console, kdump.sh will output everything immediately to console, not cached/hidden by systemd. Signed-off-by: WANG Chao <chaowang@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-2.0.4-makedumpfile-Add-vmap_area_list-definition-for-ppc-ppc64.patch | ||
| kexec-tools.spec | ||
| mkdumprd | ||
| mkdumprd.8 | ||
| rhcrashkernel-param | ||
| sources | ||
| zanata-notes.txt | ||