From 0382d3a6b82976d98e207a0115ec1ebb2f98fc35 Mon Sep 17 00:00:00 2001 From: nixbitcoin Date: Sun, 19 Apr 2020 15:16:00 +0200 Subject: [PATCH] Document low-entropy problem --- docs/faq.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 5f6252b..9b60020 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -32,3 +32,5 @@ * **A:** Check your clightning logs with `journalctl -eu clightning`. Do you see something like `bitcoin-cli getblock ... false` failed? Are you using pruned mode? That means that clightning hasn't seen all the blocks it needs to and it can't get that block because your node is pruned. If you're just setting up a new node you can `systemctl stop clightning` and wipe your `/var/lib/clightning` directory. Otherwise you need to reindex the Bitcoin node. * **Q:** My disk space is getting low due to nix. * **A:** run `nix-collect-garbage -d` +* **Q:** `nix-shell` takes too long and doesn't finish generating `/secrets` + * **A:** This might be the result of low system entropy. Check your entropy with `cat /proc/sys/kernel/random/entropy_avail`. If necessary, take steps to increase entropy like performing some tasks on the system or acquiring a hardware true random number generator.