Blame SOURCES/0428-systemd-dracut-initqueue.sh-don-t-go-into-emergency.patch

712866
From 4c5f1b3b4a3b303b3eb19b0a16122b4fc552e089 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Thu, 30 Jun 2016 16:33:18 +0200
712866
Subject: [PATCH] systemd/dracut-initqueue.sh: don't go into emergency
712866
712866
let systemd go into emergency.target later on
712866
---
712866
 modules.d/98systemd/dracut-initqueue.sh | 6 +-----
712866
 1 file changed, 1 insertion(+), 5 deletions(-)
712866
712866
diff --git a/modules.d/98systemd/dracut-initqueue.sh b/modules.d/98systemd/dracut-initqueue.sh
712866
index 5822556..c12531e 100755
712866
--- a/modules.d/98systemd/dracut-initqueue.sh
712866
+++ b/modules.d/98systemd/dracut-initqueue.sh
712866
@@ -68,11 +68,7 @@ while :; do
712866
 
712866
     main_loop=$(($main_loop+1))
712866
     if [ $main_loop -gt $RDRETRY ]; then
712866
-        if ! [ -f /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then
712866
-            action_on_fail "Could not boot." && break
712866
-        fi
712866
-        warn "Not all disks have been found."
712866
-        warn "You might want to regenerate your initramfs."
712866
+        # let systemd go into emergency mode, if it cannot boot
712866
         break
712866
     fi
712866
 done