dracut-emergency.service is conflicting with emergency.service:
"Conflicts=emergency.service emergency.target"
We should always disable dracut-emergency.service. Because if it gets started, our emergency.service will be interrupted and stopped.
And also dracut-emergency.service isn't useful now, since we introduced our own error handler.
Signed-off-by: WANG Chao chaowang@redhat.com --- dracut-kdump.sh | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/dracut-kdump.sh b/dracut-kdump.sh index d092e04..eb4ab42 100755 --- a/dracut-kdump.sh +++ b/dracut-kdump.sh @@ -4,10 +4,6 @@ exec &> /dev/console . /lib/dracut-lib.sh . /lib/kdump-lib.sh
-if [ -f "$initdir/lib/dracut/no-emergency-shell" ]; then - rm -f -- $initdir/lib/dracut/no-emergency-shell -fi - set -o pipefail export PATH=$PATH:$KDUMP_SCRIPT_DIR