fix: LND crash in rootless podman, improve container status labels

LND v0.18+ crashes with "netlinkrib: address family not supported"
because rootless podman blocks netlink access for TLS cert SAN
enumeration. Fix: add tlsextraip=0.0.0.0 and tlsextradomain=lnd
to lnd.conf so LND skips interface enumeration.

Also: fix status label to show "crashed" for both exited and
stopped containers with non-zero exit codes (previously only
caught "exited" state, but podman reports "stopped" for
restart-looping containers).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-31 23:01:51 +01:00
parent 7070410b49
commit b60288e051
3 changed files with 9 additions and 1 deletions

View File

@@ -641,6 +641,11 @@ rpclisten=0.0.0.0:10009\n\
restlisten=0.0.0.0:8080\n\
debuglevel=info\n\
noseedbackup=true\n\
tlsextraip=0.0.0.0\n\
tlsextradomain=lnd\n\
tor.active=true\n\
tor.socks=host.containers.internal:9050\n\
tor.streamisolation=true\n\
\n\
[Bitcoin]\n\
bitcoin.mainnet=true\n\