mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-22 13:14:15 +03:00
faq.md: reformat
Improves readability in both the rendered and raw formats. Also, mention that `doas` is enabled only via the `secure-node.nix` template.
This commit is contained in:
parent
9e4f4d6b0f
commit
91fbcfcc77
25
docs/faq.md
25
docs/faq.md
@ -1,6 +1,19 @@
|
|||||||
* **Q:** The clightning service is running but when I try to use it (f.e. by running `lightning-cli getinfo` as user operator) all I get is `lightning-cli: Connecting to 'lightning-rpc': Connection refused`.
|
- **Q:** The clightning service is running but when I try to use it (f.e. by running
|
||||||
* **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.
|
`lightning-cli getinfo` as user operator) all I get is `lightning-cli: Connecting
|
||||||
* **Q:** My disk space is getting low due to nix.
|
to 'lightning-rpc': Connection refused`.\
|
||||||
* **A:** run `nix-collect-garbage -d`
|
**A:** Check your clightning logs with `journalctl -eu clightning`. Do you see
|
||||||
* **Q:** Where is `sudo`???
|
something like `bitcoin-cli getblock ... false` failed? Are you using pruned mode?
|
||||||
* **A:** we replaced sudo with OpenBSD's doas after [CVE-2021-3156](https://www.openwall.com/lists/oss-security/2021/01/26/3). It has greatly reduced complexity, and is therefore less likely to be a source of severe vulnerabilities in the future.
|
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:** Where is `sudo`?\
|
||||||
|
**A:** After [CVE-2021-3156](https://www.openwall.com/lists/oss-security/2021/01/26/3),
|
||||||
|
we've replaced `sudo` with OpenBSD's `doas` for users of the `secure-node.nix` template.
|
||||||
|
It has greatly reduced complexity and is therefore less likely to be a source of
|
||||||
|
severe vulnerabilities in the future.
|
||||||
|
Loading…
Reference in New Issue
Block a user