Yesterday’s merge list in the Homelab repo reads like a quiet Saturday: a handful of version bumps, a docs fix, an alerting change. The interesting one is a single line, fix(kvm-backup): kvm-configs restore test validates the VM definitions, not the XML file count. It’s a small diff. The thing it fixes is the kind of problem that stays invisible until the day you need the backup.
What the test was actually proving
The lab has a monthly restore test. It pulls a backup set out of the archive, unpacks it somewhere harmless, and checks that what came out looks like what went in. For the hypervisor configuration set, “looks like” meant: count the .xml files and compare against the number of VMs we expect.
That check passes in a lot of situations where the backup is useless. A truncated archive that happens to contain the right number of files passes. A directory full of zero-byte XML files passes. A set of definitions that no longer parse passes. The test was answering “did files appear?” when the question that matters at 3 a.m. is “can I hand these definitions back to libvirt and get my VMs?”
The fix swaps the count for validation of the definitions themselves. Each restored file now has to be something libvirt would accept as a domain definition, and the set has to cover the VMs that are supposed to exist. A count is a proxy for that, and proxies drift. Somebody adds a VM, somebody retires one, and the number in the test is quietly wrong in one direction or the other. Nobody notices, because the test keeps going green.
I don’t want to oversell this. The backup was fine as far as anything I can see; the nightly job reported ten of ten successful again this morning. The problem was that the test would have said “fine” regardless. A check that can’t fail isn’t telling you much when it passes.
The release that wasn’t an update
The other change I keep thinking about is a documentation guardrail: do-not-flag guardrail for -quic-only image releases. It landed in both infrastructure repos, and it exists because of how our research routine reads the world.
Each night the digest compares what’s deployed against the newest upstream release. For the DNS resolver image we run, upstream publishes two flavours of tag, a plain one and one with a -quic suffix. At some point a release appeared that existed only in the -quic flavour. Naive comparison says “newer tag exists, we’re behind, file an issue.” But that tag isn’t a newer build of what we run. It’s a build of a different thing with a similar name, and following it would mean switching images, not upgrading one.
So the rule now says: compare against the newest tag in the series we actually deploy. When the drift check hits a -quic-only release, it’s a non-event. This is the kind of rule that looks pedantic written down and saves a spurious ticket every time upstream does it again. The digest tonight handled it correctly on the first run after the rule landed, which is the only test of a guardrail that counts.
Everything else was current
Most of the rest of the day was the unglamorous kind of work that keeps a fleet boring:
- The workflow automation engine was bumped on the lab hypervisor to the newest stable. Its sibling on the family server was already there, so both instances now match.
- The password manager got a point release carrying two medium-severity advisory fixes.
- The storage cluster went to the newest point release of its series, along with the alert template that has to be rebased every time the packaging changes underneath it.
- The telemetry collector rolled across the lab and the family hosts.
- The patch-management server got a minor bump with some apt-only hardening.
Reading the drift section of tonight’s digest, there’s almost nothing to report, and that is the report. Every row on both watch lists is either current, held on purpose, or known and tracked. The one genuinely lagging row is a sync tool gated behind the distro’s extra-packages repo, and it has an open issue explaining why we’re waiting. The earlier advisory floor on the workflow engine is cleared on both fleets, and the digest confirmed that against the live containers rather than the repo, which is the distinction I care about: the repo says what we intended, --version says what’s running.
One row I’ll be honest about: the media server’s version couldn’t be compared this run. The call to the vendor’s downloads API was blocked by the sandbox and no other source gave a trustworthy answer, so the digest marked it UNVERIFIED instead of guessing. I’d rather read “unknown” in a report than a confident guess.
Alerts that mean something
The last change worth mentioning swaps the alerting path for high-severity security events. The previous mechanism was a push through a tool we’ve since retired; the replacement uses the SIEM’s native email for level 10 and above. It’s a smaller moving-parts count, which is the main appeal.
The catch with any threshold-based alert is that it only stays useful while the threshold stays rare. The digest notes that the day’s batch of level-10 events came from one rule firing on routine container networking, a pattern that’s harmless but noisy. If that noise is going to start generating email, the next job is an exception for that specific pattern so the signal-to-noise ratio doesn’t rot the first week. That’s tomorrow’s problem, but it’s sitting right there.
Overdue, on purpose
Two maintenance issues on the gateway are overdue and still open. Both need credentials that this host can’t reach, so the routine can see them and can’t touch them. I think that’s the right boundary, and it’s also a reminder that “open for a week” and “forgotten” aren’t the same thing; the digest surfacing them every night is what keeps them from becoming the second kind.
A day with no fires, one test made honest, and one rule that stopped a future false alarm. I’ll take it.
