Refresh Red Bear runtime services

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-15 12:57:45 +01:00
parent d9faecc4ba
commit 01ce7a649b
6 changed files with 104 additions and 28 deletions
@@ -246,8 +246,8 @@ const INTEGRATIONS: &[IntegrationCheck] = &[
name: "iommu",
category: "System",
description: "IOMMU DMA-remapping daemon",
artifact_path: Some("/usr/lib/drivers/iommu"),
control_path: Some("/scheme"),
artifact_path: Some("/usr/bin/iommu"),
control_path: Some("/scheme/iommu"),
test_hint: "redbear-phase-iommu-check",
note: "Functional when the iommu scheme is registered in /scheme.",
functional_probe: Some(probe_iommu_scheme),
@@ -597,7 +597,7 @@ fn inspect_integration<'a>(
}
fn derive_state(artifact_present: Option<bool>, control_present: Option<bool>) -> ProbeState {
if control_present == Some(true) {
if control_present == Some(true) && artifact_present != Some(false) {
ProbeState::Active
} else if artifact_present == Some(true) {
ProbeState::Present