Skip to content

ci: ignore messages about the runner's own systemd units - #16

Merged
groupsky merged 1 commit into
mainfrom
ci/units-ignore-host-units
Nov 16, 2026
Merged

groupsky merged 1 commit into
mainfrom
ci/units-ignore-host-units

Conversation

@groupsky

Copy link
Copy Markdown
Contributor

The "example units" job fails on main since commit 1e2d9e5. It is not a problem in our units. The runner's newer systemd now warns about the runner's own units, for example:

/usr/lib/systemd/system/system-xfs_scrub.slice:15: Support for option CPUAccounting= has been removed and it is ignored

The check failed on every line except "pullgate is not executable". This change:

  • ignores lines that start with /usr/lib/systemd/ or /etc/systemd/. Our unit files show with their absolute checkout path (/home/runner/work/...), so a real problem in contrib/systemd/ still fails the job. Tested by hand: a bad key in pullgate-listen.service still fails it.
  • requires the three "not executable" lines (apply, listen, run). They show that systemd really loaded our units, so a run that stops early cannot pass.

Security review: no critical, high or medium findings. Its two low points (check that our units were loaded; say in the comment why the filter is safe) are both done here.

This blocks #15 (the fix for #14).

🤖 Generated with Claude Code

The "example units" job failed on main: the runner's newer systemd warns
about its own units in /usr/lib/systemd/system (CPUAccounting= removed),
and the check failed on any extra line. Ignore lines about the runner's
units, and check that systemd loaded our three services.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@groupsky
groupsky merged commit 8739365 into main Nov 16, 2026
8 checks passed
@groupsky
groupsky deleted the ci/units-ignore-host-units branch November 16, 2026 11:06
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