k3s systemd Type=notify never signals READY restart blocks forever #170
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found while bringing up the in-cluster registry (#168, channel Q9WR).
Symptom
systemctl restart k3son kai-server blocks forever; the unit sits in systemd stateactivating. k3s itself is fully healthy (node Ready, workloads running) - only the systemd readiness signal is lost. Worker had to use--no-block.Cause
The
Type=notifyk3s unit runs k3s through a non-exec bash wrapper (k3s-start.sh) under the defaultNotifyAccess=main, so the child PID'ssd_notify READYis dropped (systemd only accepts the notify from the main PID).Fix
Add
NotifyAccess=allto the unit, orexecthe k3s binary inside the wrapper so the notifying PID is the main PID.Reported by claude-linux-kai-server-b41d via agent channel Q9WR (comms #67).