Repository navigation
docs(smaug): turn TrueNAS Connect off (ADR-0133) and make bilbo read-only (ADR-0134) - #1738
Merged
Merged
Conversation
… read-only on the media share
There was a problem hiding this comment.
🟡 Changes recommended
The runbook schedules ACL verification before required services and access exist, and its monitoring checks can pass despite stale collectors or unverified urgent notification delivery.
2 open issues
What changed in this PR
Documents two pending hardening changes for smaug, extending the existing architecture decisions and NAS runbook. This is documentation-only; the running lab remains unchanged until the procedures are completed.
Changes:
- Record decisions to disable TrueNAS Connect and make
bilboread-only on the media share. - Add implementation and verification procedures, both marked Not yet done.
- Add ADR back-links, document current exposure, and update the ADR count to 133.
| File | Description |
|---|---|
README.md |
Updates the ADR count to 133. |
docs/security.md |
Records current SMB write access and the pending restriction. |
docs/runbooks/build-the-nas.md |
Adds ACL-change and Connect-disable procedures. |
docs/network.md |
Records Connect’s current internet egress. |
docs/adr/0133-make-the-televisions-smb-user-read-only-on-the-media-share.md |
Defines read-only access for bilbo and named write access for samwise. |
docs/adr/0132-turn-truenas-connect-off-on-smaug.md |
Records the Connect-disable decision and alerting trade-offs. |
docs/adr/0051-let-hicks-workstations-mount-the-media-share-as-a-user-of-their-own.md |
Adds a back-link resolving the deferred ACL decision. |
docs/adr/0047-collect-smaug-smart-through-a-root-cron-and-the-textfile-collector.md |
Adds a back-link resolving the Connect egress question. |
Review effort: Balanced
main took ADR-0132 for the offsite copy (#1737), so this branch's two ADRs move to ADR-0133 (TrueNAS Connect) and ADR-0134 (bilbo read-only), with every reference this branch added. README's count is 134. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…6.12's paging path end to end Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changed
Two decisions from the 2026-11-13 smaug audit, recorded and given procedures. Nothing on the running lab changes until the runbook steps are done; both are marked Not yet done.
smaug. It decides the egress question ADR-0047's fourth decision left open. TrueNAS Connect has been registered since first boot and read as enabled on 2026-11-13. It duplicates a paging path that already exists (ZpoolVdevNotOnline,ZpoolNotOnline,SmartDrive*).build-the-nas.md§6.12 is the procedure.bilbo, read-only on the media share. It decides the change ADR-0051 deferred. The preset'sbuiltin_usersModify entry gives way to Modify forsamwiseby name, applied recursively.bilbokeeps read througheveryone@.build-the-nas.md§5 Makebilboread-only is the procedure, with the test ADR-0051 asked for.network.mdrecords that TrueNAS Connect ridessmaug's internet egress until §6.12 is done.security.mdrecords thatbilbocan still write until §5's step is done. README's ADR count goes from 132 to 134.Why
The read-only audit of
smaugon 2026-11-13 found TrueNAS Connect enabled and recorded nowhere, and found the TV credential able to delete an unsnapshotted library. Both were open questions in existing ADRs (0047, 0051).Blast radius
None at merge: documents only. When the steps are run on
smaug:§6.12 removes the mailbox copy of TrueNAS's alerts. Prometheus remains the paging path, and step 1 proves it first. A failed periodic snapshot task then reaches only the web UI; ADR-0133 names that gap.
§5's ACL change takes write away from anything that wrote as
bilboor throughbuiltin_users. Jellyfin, Audiobookshelf and Navidrome mount read-only, and MakeMKV writesrips/as its owner, so none of them is affected.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.yamlVerification
python3 scripts/check_docs.py:docs OK — 187 Prometheus + 28 Loki rules, 8 dashboards, 156 panels, 14 assertions. This includes ADR-0115's back-link check and the README ADR count../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 validatewas not run:makeis not installed where this was authored.git diff --check: clean.make validatepassesDeployed to the lab and confirmed working (not yet: §6.12 and §5's step are Not yet done)
Docs updated (
docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code