Skip to content

test: mask CountMe to confirm the #1198 chcon source (do not merge) - #1247

Closed
Danathar wants to merge 1 commit into
fix/booted-image-split-sync-unitfrom
test/mask-countme-1198
Closed

Danathar wants to merge 1 commit into
fix/booted-image-split-sync-unitfrom
test/mask-countme-1198

Conversation

@Danathar

Copy link
Copy Markdown
Contributor

Do not merge: an experiment

This PR only exists to test one idea about #1198. It stops CountMe from running in the image and changes nothing else. It is stacked on #1220 (base branch fix/booted-image-split-sync-unit), so its diff is one new file.

The idea

#1220's diagnostic run still showed two { mac_admin } comm="chcon" AVC denials at boot, 0.5 s after projectbluefin-countme.service started. CountMe (from projectbluefin/common) runs bootc status --json as root from an ordinary service, which is the context in both denials. If CountMe is the source, this image should boot with no denials.

What it changes

A drop-in, projectbluefin-countme.service.d/20-test-skip-1198.conf, adds a ConditionPathExists= that can never be true, so the service is skipped. I did not mask the units: the desktop contract checks projectbluefin-countme.timer is enabled while the image builds, so a mask would fail the build before the VM test.

How to read the result

Normal PR CI does not boot a VM (the review_vm job only runs on a manual dispatch with contract_only and review_vm). I dispatched that run on this branch; it publishes nothing. In its review_vm (main) job, step "Boot live desktop, install LUKS, log in and test review fixes":

  • Denials gone: the log shows bootc chcon AVC denials: none. CountMe is confirmed.
  • Denials remain: the log ends with FAIL: chcon was denied mac_admin during boot (#1198); see avc-origin.txt for its source. CountMe is not the (only) source.

The same step may fail later at "Verifying the shared CountMe timer", because CountMe is skipped on purpose. That comes after the denial check and is expected.

The fix is in projectbluefin/common#1689, held until this result is in.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WcWm7tJ5iop2b4GMkKSPAv

Adds an unsatisfiable ConditionPathExists= drop-in so
projectbluefin-countme.service never runs. Experiment only.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WcWm7tJ5iop2b4GMkKSPAv
Signed-off-by: Danathar <Danathar@users.noreply.github.com>
@Danathar

Copy link
Copy Markdown
Contributor Author

/hold

@Danathar Danathar added the hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danathar

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions github-actions Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 15, 2026
@hivecommons-hive hivecommons-hive Bot added author/clanker A contributor's own hive authored this PR under their login dco All commits are DCO signed-off stage/050-review-pending Review swarm requested; awaiting a verdict for the current head stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Nov 15, 2026
@Danathar

Copy link
Copy Markdown
Contributor Author

Status: no verdict yet. All three attempts of the review-VM run (43762243257; 4:05, 4:32 and 5:02 PM EST) failed while building the image, before the VM booted. Each time, one package download from the Hummingbird repository failed with All mirrors were tried (vim-filesystem, libnl3, then vim-common). That's a mirror problem unrelated to this change. To get the answer, re-run the failed job once the mirrors recover (gh run rerun 43762243257 -R projectbluefin/utah --failed) and look in review_vm (main) for bootc chcon AVC denials: none (CountMe is the source) or FAIL: chcon was denied mac_admin (it isn't).

@Danathar

Copy link
Copy Markdown
Contributor Author

Done: the VM run confirmed CountMe is the source (bootc chcon AVC denials: none with it skipped, run 43762243257). This was a test and was never meant to merge. The fix is projectbluefin/common#1689.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. author/clanker A contributor's own hive authored this PR under their login dco All commits are DCO signed-off hold Indicates that a PR should not merge because someone has issued a /hold command. stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant