Reach the tailnet-shared LLM gateway #93
No reviewers
Labels
No labels
blocked
bug
duplicate
effort
high
effort
low
effort
medium
effort
minimal
enhancement
help wanted
invalid
pr
feedback
pr
reviewing
question
status
backlog
status
document
status
done
status
implement
status
pending
status
planning
status
reviewing
waiting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tepichord/milner!93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/86-reach-tailnet-shared-llm-gateway"
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?
Closes #86
Automated PR created by forgejo-done adapter.
Installed as a system unit the relay was silently dead. A system unit runs in init_t, which may not read the user_home_t symlink the home-manager profile path is reached through, so the exec was refused before socat started: avc: denied { read } for comm="(socat)" name=".nix-profile" scontext=system_u:system_r:init_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=lnk_file Failed at step EXEC ... status=203/EXEC systemd reports that as `activating (auto-restart)` — a unit that looks alive and serves nothing — so `is-active` alone reads the dead relay as fine. A user manager runs unconfined and reads the profile normally; the alternative, relabelling the nix store or the home symlinks so init_t may execute it, is a host-wide policy change for one relay. The unit is a user unit now, with `loginctl enable-linger` as part of the install rather than a convenience: without linger a user service runs only while the user is logged in, so the relay would vanish at logout. Ordering after tailscaled.service goes with it — a user unit cannot order after a system unit — which the runbook already argued Restart=always covers. A guard holds both halves, because the failure is one that reports itself as healthy.