Skip to content

CFE-4699: Fixed reports promise being kept when the report could not be written - #6269

Open
nickanderson wants to merge 1 commit into
cfengine:masterfrom
nickanderson:CFE-4699/master
Open

CFE-4699: Fixed reports promise being kept when the report could not be written#6269
nickanderson wants to merge 1 commit into
cfengine:masterfrom
nickanderson:CFE-4699/master

Conversation

@nickanderson

Copy link
Copy Markdown
Member

Moves the test into an unsafe directory, where testall runs it as root so the chattr it needs can work.

Ticket: CFE-4699

A report which never made it to its file was still audited as kept and still
defined the _kept class. The promise fails now instead.

The test for this has been soft-failing since 2015. It makes the file immutable
with chattr, which needs root, so it also moves to an unsafe directory where
testall runs it as root.

Ticket: CFE-4699
Changelog: Title
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@nickanderson
nickanderson requested a review from larsewi August 5, 2026 20:52
@nickanderson

Copy link
Copy Markdown
Member Author

@cf-bottom jenkins, please

@cf-bottom

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants