fix: LND crash in rootless podman, improve container status labels
Some checks failed
Container Orchestration Tests / unit-tests (push) Has been cancelled
Container Orchestration Tests / smoke-tests (push) Has been cancelled
Build Archipelago ISO (dev) / build-iso (push) Has been cancelled

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 8e8020833d
commit 22609abd64
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\

View File

@@ -145,7 +145,8 @@ export function getStatusLabel(state: PackageState, health?: string | null, exit
if (state === PackageState.Running && health === 'starting') return 'starting up'
if (state === PackageState.Running && health === 'unhealthy') return 'unhealthy'
if (state === PackageState.Running && health === 'healthy') return 'healthy'
if (state === PackageState.Exited) {
if (state === PackageState.Running) return 'running'
if (state === PackageState.Exited || state === PackageState.Stopped) {
if (exitCode === 137) return 'killed (OOM)'
if (exitCode != null && exitCode !== 0) return 'crashed'
return 'stopped'

View File

@@ -582,6 +582,8 @@ rpclisten=0.0.0.0:10009
restlisten=0.0.0.0:8080
debuglevel=info
noseedbackup=true
tlsextraip=0.0.0.0
tlsextradomain=lnd
tor.active=true
tor.socks=host.containers.internal:9050
tor.streamisolation=true