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:
parent
7070410b49
commit
b60288e051
@ -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\
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user