Blame 0066-dracut-systemd-dracut-initqueue.sh-be-verbose-about-.patch

Harald Hoyer bb31e7
From 8ba684be1c04976204d2b671ab90cb27791f467b Mon Sep 17 00:00:00 2001
Harald Hoyer bb31e7
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer bb31e7
Date: Wed, 12 Aug 2015 14:27:39 +0200
Harald Hoyer bb31e7
Subject: [PATCH] dracut-systemd/dracut-initqueue.sh: be verbose about timeout
Harald Hoyer bb31e7
Harald Hoyer bb31e7
Issue a warning, if timeout scripts are executed
Harald Hoyer bb31e7
---
Harald Hoyer bb31e7
 modules.d/98dracut-systemd/dracut-initqueue.sh | 1 +
Harald Hoyer bb31e7
 1 file changed, 1 insertion(+)
Harald Hoyer bb31e7
Harald Hoyer bb31e7
diff --git a/modules.d/98dracut-systemd/dracut-initqueue.sh b/modules.d/98dracut-systemd/dracut-initqueue.sh
Harald Hoyer bb31e7
index af9cec2..881f639 100755
Harald Hoyer bb31e7
--- a/modules.d/98dracut-systemd/dracut-initqueue.sh
Harald Hoyer bb31e7
+++ b/modules.d/98dracut-systemd/dracut-initqueue.sh
Harald Hoyer bb31e7
@@ -55,6 +55,7 @@ while :; do
Harald Hoyer bb31e7
     done
Harald Hoyer bb31e7
 
Harald Hoyer bb31e7
     if [ $main_loop -gt $((2*$RDRETRY/3)) ]; then
Harald Hoyer bb31e7
+        warn "dracut-initqueue timeout - starting timeout scripts"
Harald Hoyer bb31e7
         for job in $hookdir/initqueue/timeout/*.sh; do
Harald Hoyer bb31e7
             [ -e "$job" ] || break
Harald Hoyer bb31e7
             job=$job . $job