summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1-init.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-04 16:53:42 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-04 16:53:42 +0100
commit6d02d7e740396980cf4f36b3a623eea01155b6d2 (patch)
tree047e2a0e6c6e7fb64ef8404549620ea38e49208b /nixos/modules/system/boot/stage-1-init.sh
parent517d8c88469bc6cd72056e7cc24c42d9ee98334e (diff)
downloadnixlib-6d02d7e740396980cf4f36b3a623eea01155b6d2.tar
nixlib-6d02d7e740396980cf4f36b3a623eea01155b6d2.tar.gz
nixlib-6d02d7e740396980cf4f36b3a623eea01155b6d2.tar.bz2
nixlib-6d02d7e740396980cf4f36b3a623eea01155b6d2.tar.lz
nixlib-6d02d7e740396980cf4f36b3a623eea01155b6d2.tar.xz
nixlib-6d02d7e740396980cf4f36b3a623eea01155b6d2.tar.zst
nixlib-6d02d7e740396980cf4f36b3a623eea01155b6d2.zip
NixOS tests: Increase hung_task_timeout_secs
This hopefully fixes intermittent test failures like

  http://hydra.nixos.org/build/29962437

  router# [  240.128835] INFO: task mke2fs:99 blocked for more than 120 seconds.
  router# [  240.130135]       Not tainted 3.18.25 #1-NixOS
  router# [  240.131110] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

assuming that these are caused by high load on the host.
Diffstat (limited to 'nixos/modules/system/boot/stage-1-init.sh')
-rw-r--r--nixos/modules/system/boot/stage-1-init.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh
index 2b5d547353f8..7fb368e8c44f 100644
--- a/nixos/modules/system/boot/stage-1-init.sh
+++ b/nixos/modules/system/boot/stage-1-init.sh
@@ -140,6 +140,7 @@ done
 
 
 # Create device nodes in /dev.
+@preDeviceCommands@
 echo "running udev..."
 mkdir -p /etc/udev
 ln -sfn @udevRules@ /etc/udev/rules.d