Watch
0
0
Fork
You've already forked hyperhive
0

hive-c0re, hive-priv: demote three routine, non-actionable log sites

This commit is contained in:
damocles 2026-10-07 23:50:36 +02:00 • committed by mara
commit 25893d0f95
3 changed files with 46 additions and 3 deletions

View file

@ -491,8 +491,14 @@ async fn exec(
async fn start_container(name: &str) -> Result<(String, String)> {
validate_agent_name(name)?;
let machine = container_system_name(name);
// Silenced: a first-time create means the unit doesn't exist yet, and
// `systemctl`'s own "Unit ... not loaded" complaint for that case would
// otherwise land in the journal at error priority on every such start —
// routine, not a signal, since the result is already discarded below.
let _ = Command::new("systemctl")
.args(["reset-failed", &format!("container@{machine}.service")])
.stdout(std::process::Stdio::null())
.stderr(std::process::Stdio::null())
.status()
.await;
container_run(&["start", &machine]).await