Skip to content

Keep the SPS audit log under the private state directory - #12

Merged
batteryshark merged 1 commit into
mainfrom
uplift/sps-audit-path
Oct 25, 2026
Merged

batteryshark merged 1 commit into
mainfrom
uplift/sps-audit-path

Conversation

@batteryshark

Copy link
Copy Markdown
Owner

SPS refuses to keep files under a group- or world-writable ancestor directory. Ubuntu resets /var/log to 0775 root:syslog at boot, so with the previous default audit path (/var/log/toolstack/sps.audit) SPS would not start after a reboot on a fresh Ubuntu install.

What changes

  • Default SPS audit log moves to /var/lib/toolstack/audit/sps.audit (CLI default, bootstrap default, example config, installer creates the folder 0700, docs).

Upgrade note

  • Existing installs: set SP_AUDIT_LOG = "/var/lib/toolstack/audit/sps.audit" in /etc/toolstack/sps.env and create the folder owned by the service user with mode 0700.

@batteryshark
batteryshark merged commit 17b291d into main Oct 25, 2026
1 check 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