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