Skip to content

Feature: INSTALL_PREFIX to relocate the agent installation - #2462

Open
NiceGuyIT wants to merge 3 commits into
amidaware:developfrom
NiceGuyIT:feat/implement-install-prefix
Open

NiceGuyIT wants to merge 3 commits into
amidaware:developfrom
NiceGuyIT:feat/implement-install-prefix

Conversation

@NiceGuyIT

Copy link
Copy Markdown
Contributor

INSTALL_PREFIX relocates the agent's install tree to a writable root so the agent can run on systems where /etc, /opt, and /usr are read-only. Some systems, such as TrueNAS Scale, will have a read-only root and expect custom programs to run in a mounted "system" filesystem.

The installation can be moved by setting one of the following.

  • --install-prefix <path> CLI flag; takes precedent over $INSTALL_PREFIX.
  • $INSTALL_PREFIX environment variable

Relates to PR #80 in the rmmagent repo.

Fixes this comment.

Signed-off-by: David Randall <David@NiceGuyIT.biz>
@codecov

codecov Bot commented Apr 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.87%. Comparing base (72b6a73) to head (e269ca9).
⚠️ Report is 112 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2462      +/-   ##
===========================================
+ Coverage    74.44%   75.87%   +1.42%     
===========================================
  Files          151      151              
  Lines        11996    11608     -388     
===========================================
- Hits          8931     8808     -123     
+ Misses        3065     2800     -265     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wh1te909

Copy link
Copy Markdown
Member

thank you, I will try to get this in the release after next (current release is already frozen and QA just finished)

NiceGuyIT and others added 2 commits October 4, 2026 16:26
Gmail rejects messages without a Message-ID (RFC 5322). Some SMTP servers such as Stalwart do not add one, so set it in CoreSettings.send_mail and the script results email in agents/tasks.py.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

Error Running Scripts due to Read-Only File System - NixOS

2 participants