Skip to content

refactor!: resolve on-device paths under the /opt/airplanes FHS layout#109

Draft
d4rken wants to merge 1 commit into
devfrom
refactor/fhs-install-layout
Draft

refactor!: resolve on-device paths under the /opt/airplanes FHS layout#109
d4rken wants to merge 1 commit into
devfrom
refactor/fhs-install-layout

Conversation

@d4rken

@d4rken d4rken commented Jun 24, 2026

Copy link
Copy Markdown
Member

Consolidates the webconfig service's on-device paths onto the FHS install layout. Privileged helper scripts and the daemon binary now resolve under /opt/airplanes/current, daemon-state files under /run/airplanes/<service>, and persistent state under /var/lib/airplanes, replacing the previous /usr/local, /run/airplanes-*, and /var/lib/airplanes-* locations. The apl-* CLI launchers stay on PATH.

The orchestrator trampoline moves to a stable /opt/airplanes/libexec path so it still resolves while the active release is mid-update, and the fetched aggregator binary stays in a root-owned subtree the unprivileged feeder account cannot replace.

Requires the matching runtime-overlay release that delivers the helpers to their new locations.

Helper argv, unit directives, the upgrade marker, and daemon-state defaults now resolve under /opt/airplanes/current, /run/airplanes/<svc>, and /var/lib/airplanes instead of /usr/local and the /run|/var/lib/airplanes-* siblings. The apl-* CLIs stay on PATH.

BREAKING CHANGE: helpers ship to /opt/airplanes/current/lib and the stable launcher to /opt/airplanes/libexec; requires the matching runtime-overlay release.
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