Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ docstring gives: it is a record, not a claim about now.

## 2026-11-25

- **`build-heimdall.md` §2 masks `systemd-rfkill`.** The reboot that
confirmed the entry "`heimdall` runs the hardening `build-heimdall.md` §2
added today", at 15:53, was the first boot with Bluetooth off.
`systemd-rfkill.service` hung for its full 90 seconds on it and failed, and
`DisplayUnitFailed` fired. It had finished normally on the three boots
before. Run again by hand at 16:15, it found only the Wi-Fi switch and
exited at once, so the cause is not known. Nothing on the Pi switches a
radio, so §2 now masks the service and its socket, with the undo in §9.
Applied on `heimdall` the same day.

- **`smaug`: TrueNAS Connect off, the media stack redeployed, and `eno1`
static.** This completes three of the five items the entry "`smaug`:
three decided changes applied" left to the operator.
Expand Down
15 changes: 12 additions & 3 deletions docs/runbooks/build-heimdall.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,15 +242,23 @@ off at boot. Firefox and VLC come with the desktop, and the kiosk uses
neither. They are most of the Pi's updates: on 2026-11-24, 16 of its 18
pending upgrades were VLC's. The desktop's `rpd-applications` only
recommends them, so purging them removes nothing else the Pi uses.
`--autoremove` takes their libraries with them, about 40 packages:
`--autoremove` takes their libraries with them, about 40 packages.

`systemd-rfkill` saves and restores whether each radio is switched off. With
Bluetooth gone, Wi-Fi is the only radio left, and nothing on the Pi switches
it. On the first boot after the overlay, on 2026-11-25, the service hung for
its full 90 seconds and failed, which fired `DisplayUnitFailed`. It did not
hang when run again, but nothing needs it, so mask it:

```bash
sudo cp /boot/firmware/config.txt /boot/firmware/config.txt.bak
printf '\ndtoverlay=disable-bt\n' | sudo tee -a /boot/firmware/config.txt # last section is [all]
sudo apt purge -y --autoremove firefox vlc
sudo systemctl mask --now systemd-rfkill.service systemd-rfkill.socket
```

After §3's reboot, `ls /sys/class/bluetooth` prints nothing.
After §3's reboot, `ls /sys/class/bluetooth` prints nothing, and
`systemctl --failed` lists nothing.

### Nothing at the console but a login

Expand Down Expand Up @@ -517,7 +525,8 @@ the roadmap's *Everything still to buy* and an ADR of its own.
- **The console:** `sudo systemctl unmask --now serial-getty@ttyAMA10.service`.
`sudo raspi-config nonint do_boot_behaviour B4` writes the `tty1`
autologin back, along with the desktop's.
- **The radio and the apps:** restore `/boot/firmware/config.txt.bak`, and
- **The radio and the apps:** restore `/boot/firmware/config.txt.bak`,
`sudo systemctl unmask systemd-rfkill.service systemd-rfkill.socket`, and
`sudo apt install firefox vlc`.
- **sudo without a password, and the seed files:** neither comes back. A
fresh card from the Imager has both.