Browse Source
When a forced shutdown is issued through sending a burst of Ctrl-Alt-Del keys, systemd sends SIGTERM to all processes. This ends up killing dracut-initramfs-restore as well, preventing the script from detecting that the unpack of the initramfs is incomplete, which later causes a crash to happen when "shutdown" tries to execute from the unpacked initramfs. This fix makes sure dracut-initramfs-restore remains alive to detect the unpack failed (because cpio was killed by systemd too). Refs: * https://bugzilla.redhat.com/show_bug.cgi?id=2023665master


1 changed files with 5 additions and 0 deletions
Loading…
Reference in new issue