Skip to content
Free test

Linux, with configuration management

In development. Not available. Packages are not yet published for download.

Applies to: Reach 0.1.1, built from commit 08df4b0. There is no release.

Copied word for word from docs/deploy/linux-rpm.md in the private Reach repository, commit 08df4b0, 21 November 2026.

The guide: Deploy the Linux agent with configuration management

Reach is in development. Its packages are not published.

Read the note on the deploy index first: the server must be listening on an address this machine can reach (agent_listen, or listen after two-step sign-in is set up for every user) before the Reach agent here can enrol.

Tested: the RPM on Rocky Linux 9 virtual machines in our own lab: aarch64 with the server on the same machine, and x86_64 (16 November 2026), where a second machine also reported to the same server. Not tested: any other distribution (RHEL 9 should work, not tested), any configuration-management tool, more than two machines.

What a deployment must do on each machine#

The one-machine steps are in the Linux install guide. Ubuntu guides exist too (agent, server); both packages were installed and run in our own lab, 16 Nov 2026 (each guide's status line says what ran). A tool such as Ansible, Puppet or Salt must do the same things, in this order:

  1. Install the package reach-agent from a file or a repository you host. No Sys-Ki repository exists yet, so host the RPMs yourself and check them against SHA256SUMS first. The install enables and starts the service. It sends nothing until the machine is enrolled.
  2. Make sure the clock is kept: sudo systemctl enable --now chronyd.
  3. Put the enrolment token in place (the secret from the console that lets a machine join) for the agent account only, then enrol, only if the machine has no identity yet:

sudo install -o reach-agent -g reach-agent -m 0600 /path/to/token /var/lib/reach-agent/token sudo -u reach-agent /usr/bin/reach-agent enrol --machine --token-file /var/lib/reach-agent/token

enrol deletes only /var/lib/reach-agent/token; have your tool remove /path/to/token too. The guard for "has no identity yet" is that /var/lib/reach-agent/identity.json does not exist. enrol stops with "This machine is already enrolled" if it does, so running it twice does no harm but shows as a failed task in most tools.

  1. Optionally write /etc/reach-agent/agent.toml (owned by root, not writable by others) if you need a proxy or an extra CA file. The keys are in the configuration reference. Restart the service after changing it.
  2. Check: sudo reach-agent status --machine should show Enrolled: yes; the first report usually arrives within a minute (between about 10 and 40 seconds in our lab's Rocky runs), and later check-ins follow about hourly. The machine also appears in the console under Machines.

Things to plan for#

  • One token, many machines. Make a token with enough uses and a lifetime that covers the roll-out. A token with a rate limit lower than your enrolment rate will refuse machines (error rate_limited).
  • Keep the token out of your repository and logs. Use your tool's secret store. Do not print it.
  • Clone images. An identity is created at enrolment. Do not enrol a machine and then clone it: both copies would share one identity. Enrol after cloning.
  • Rebuilt server. If the server certificate's key changes, every agent fails with a pin mismatch. Each needs a new token and enrol --force. See troubleshooting.
  • Users who were signed in before the install must sign out and in again before their collector (the part of the agent that reads their AI tool settings) starts. That is not enough where the user's systemd manager stays running between logins (lingering sessions, common on servers and virtual machines): a new login does not start the unit, so start it once for that user, systemctl --user daemon-reload && systemctl --user start reach-agent-user, run by that user. After the next reboot the unit starts by itself (install guide).
  • Pause everything on one machine: sudo reach-agent pause. Pausing from the server's side is not built.
  • Footprint. The unit limits the service to 2 % of one CPU and 64 MB. No seven-day figures from real machines exist yet. Do not quote a footprint to your own staff as measured.
  • Upgrade: install the newer RPM over the old one. The package restarts a running service.

Removing#

sudo dnf remove reach-agent removes the service and its state folder. The server keeps the machine in its list, going silent.