Skip to content

docs(smaug): record the scrub schedule, the PBS quota and §6.13's lockdown of the UI, announcements and vendor checks - #1750

Merged
Gerrrt merged 1 commit into
mainfrom
docs/smaug-unrecorded-items
Nov 25, 2026
Merged

Gerrrt merged 1 commit into
mainfrom
docs/smaug-unrecorded-items

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 25, 2026

Copy link
Copy Markdown
Owner

What changed

Records the four things the 2026-11-13 smaug audit found that no document stated, and the operator's 2026-11-24 decisions on them. It is documents only. The two new steps are marked Not yet done.

  • The scrub schedule. build-the-nas.md §3 now records the scrub task TrueNAS created with the pool: Sundays at 00:00 with a 35-day threshold, so a scrub about every five weeks. It also says no Prometheus rule watches scrub age.

  • What CasaBonita can still reach. security.md now names every port smaug listens on that the segment's own televisions and consoles reach without crossing the firewall: 22, 80/443, 139/445, 111/2049, 4533 and 8096, plus the NetBIOS, mDNS and WS-Discovery announcements. For each it says what stands in for a firewall rule. Before this, it covered only 9100 and 13378.

  • New build-the-nas.md §6.13, which:

    • allows only Hicks' 10.0.50.0/24 to reach the web UI, and redirects 80 to 443;
    • turns off the three announcements;
    • turns off TrueNAS usage collection and Docker's image-update check.

    After §6.12 and §6.13, ADR-0133's sentence about what smaug connects to is true.

  • A 4 TiB quota on erebor/pbs, as a new step in build-the-backup-guest.md §3, with build-the-nas.md §8 pointing to it. The quota counts snapshots, so a runaway PBS fills its quota and not erebor. It also means HostDiskCritical fires on golem's mount near 4 TiB rather than near the pool's size.

  • network.md's smaug egress bullet adds the two smaller vendor contacts until §6.13 is done.

Builds on ADR-0133, ADR-0134 and §6.12, which landed in #1738.

Why

The read-only audit of smaug on 2026-11-13 listed these as true on the box and stated nowhere in the repository (findings 5, 9 and 12).

Blast radius

None at merge: documents only. When the steps are run on smaug:

  • §6.13's allowlist could lock the web UI out if it is mistyped. Step 2 gives the undo, run over SSH from desktop-02, which the allowlist does not govern.

  • With the announcements off, a television can no longer find the share by browsing. Step 1 moves any television that mounts it to the address first.

  • The erebor/pbs quota makes PBS backups fail if the datastore reaches 4 TiB. Today it holds about 1 TiB, and HostDiskCritical fires on golem's mount at 10% free.

  • No change to network segmentation or firewall rules

  • No new port published to a VLAN that could not already reach the service

  • No credential added outside secrets/*.sops.yaml

Verification

  • The scrub task, dataset sizes and settings were read on smaug on 2026-11-24 with midclt and zfs.

  • python3 scripts/check_docs.py: docs OK — 187 Prometheus + 28 Loki rules, 8 dashboards, 156 panels, 14 assertions.

  • ./scripts/lint.sh: passed, but 14 checks were skipped and not run: yamllint, markdownlint-cli2, shellcheck, ruff ×2, actionlint, zizmor, packer ×2, tofu ×3, ansible-lint, editorconfig-checker. CI runs them with --require-all.

  • make validate was not run: make is not installed where this was authored.

  • git diff --check: clean.

  • make validate passes

  • Deployed to the lab and confirmed working

  • Docs updated (docs/, service README, or docs/roadmap.md)

🤖 Generated with Claude Code

…kdown of the UI, announcements and vendor checks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt enabled auto-merge (squash) November 25, 2026 20:14
@Gerrrt
Gerrrt merged commit da8ad8a into main Nov 25, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the docs/smaug-unrecorded-items branch November 25, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant