Skip to content

fix: remove sudo from device info status - #1003

Merged
castrojo merged 2 commits into
mainfrom
scanner/fix-device-info-sudo
Sep 6, 2026
Merged

fix: remove sudo from device info status#1003
castrojo merged 2 commits into
mainfrom
scanner/fix-device-info-sudo

Conversation

@kubestellar-hive

Copy link
Copy Markdown
Contributor

Fix

Run read-only bootc status --verbose without forcing sudo in the device-info recipe, matching bootc's unprivileged status policy.

Fixes #142


Filed by scanner agent (ACMM L5 — hold-gated mode). Hold-gated: human review required.

— hive: agent=scanner backend=copilot model=gpt-5.6-luna copilot=1.0.78

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@hanthor hanthor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified against the full default.just source: device-info is a plain (non-sudo-wrapped) recipe, and the diff correctly drops the inner sudo so bootc status --verbose runs unprivileged, matching bootc's unprivileged status policy. CI test green; validate fails only on title-lint.


Generated by Claude Code

@castrojo castrojo changed the title [scanner] fix: remove sudo from device info status fix: remove sudo from device info status Sep 6, 2026

@castrojo castrojo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by @castrojo for Hive auto-merge on green CI.

@castrojo
castrojo added this pull request to the merge queue Sep 6, 2026
Merged via the queue into main with commit 0e9cead Sep 6, 2026
9 checks passed
@castrojo
castrojo deleted the scanner/fix-device-info-sudo branch September 6, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold Work is intentionally paused.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consistent sudo policy for bootc

2 participants