Skip to content

Fix RemoteSupport systemd state directory bootstrap - #285

Merged
KarotsSugarpie merged 1 commit into
mainfrom
fix/remote-support-state-directory
Sep 9, 2026
Merged

KarotsSugarpie merged 1 commit into
mainfrom
fix/remote-support-state-directory

Conversation

@KarotsSugarpie

Copy link
Copy Markdown
Collaborator

Fixes RemoteSupport failing with systemd status 226/NAMESPACE on freshly updated cabinets.

Root cause:

  • the unit declared ReadWritePaths=/var/lib/pincabos-remote-support ...
  • that directory does not exist on a fresh cabinet
  • systemd mount namespace setup fails before the agent can create it

Fix:

  • use StateDirectory=pincabos-remote-support
  • use StateDirectoryMode=0700
  • remove the fragile ReadWritePaths dependency
  • retain ConditionPathExists=/var/lib/pincabos-link/device.json
  • extend RemoteSupport CI to require StateDirectory and prevent reintroducing the broken ReadWritePaths line

Observed failure on Alpha 4.82:
Failed to set up mount namespacing: /var/lib/pincabos-remote-support: No such file or directory
status=226/NAMESPACE

@KarotsSugarpie
KarotsSugarpie force-pushed the fix/remote-support-state-directory branch from 091dfac to d711f8f Compare September 9, 2026 20:53
@KarotsSugarpie
KarotsSugarpie merged commit 97233e0 into main Sep 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant