Browse Source
A .image unit runs `podman image pull`, which contacts the registry even when the image is already in local storage. A machine that boots before its network does fails that pull with "Temporary failure in name resolution", and the Requires= quadlet generates on the .image unit takes the container down with it. A failed dependency is never retried -- Restart=always only applies to a unit that started at least once -- so the service stays down until someone notices. Observed on the target: the radio head was moved to a basement, powered on, and cabled some minutes later. It booted, NetworkManager-wait-online declared the network online 26 s in, the pull failed on DNS, and zwave-js-ui never started even though the image was sitting in local storage and the controller was plugged in. Naming the image in the container lets podman resolve it at start with its default --pull=missing: the local image starts with no registry involved, and a genuinely missing image fails the container, which Restart= then retries until the network is there. Auto-update is unaffected, it reads the container's label. This is the one deviation from the convention of this repository, and the README says so and why. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>pull/11/head
3 changed files with 28 additions and 14 deletions
@ -1,12 +0,0 @@ |
|||||
[Unit] |
|
||||
Description=podman pull ghcr.io/zwave-js/zwave-js-ui |
|
||||
Documentation=https://zwave-js.github.io/zwave-js-ui/ |
|
||||
|
|
||||
[Image] |
|
||||
# Multi-architecture manifest (amd64 + arm64, verified 2026-09-26 on tag 11 -> |
|
||||
# 11.24.1), so the cookbook installs on an aarch64 host as well as on the x86_64 |
|
||||
# radio head. The tag is the major version: Z-Wave JS UI ships the zwave-js |
|
||||
# driver and its Z-Wave JS Server, whose schema version is what Home Assistant |
|
||||
# negotiates. A major bump is the one that can break that handshake, so it is |
|
||||
# the one an operator has to opt into. |
|
||||
Image=ghcr.io/zwave-js/zwave-js-ui:11 |
|
||||
Loading…
Reference in new issue