Repository navigation
docs(heimdall): mask systemd-rfkill - #1764
Merged
Merged
Conversation
The first boot with Bluetooth off, 2026-11-25 15:53, hung systemd-rfkill.service for its full 90 s and failed it, which fired DisplayUnitFailed. It ran clean when retried, so the cause is unknown, but nothing on the Pi switches a radio. §2 masks the service and its socket; §9 has the undo. Applied on heimdall the same day. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rfkill # Conflicts: # docs/changelog.md
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
build-heimdall.md§2 maskssystemd-rfkill.serviceandsystemd-rfkill.socketbeside thedisable-btstep, and §9 has the undo. A changelog entry records why, and that it is applied onheimdall.Why
The first boot with Bluetooth off (2026-11-25 15:53 PST, from #1745's hardening) hung
systemd-rfkill.servicefor its full 90 s timeout and failed it, soDisplayUnitFailedfired. It had finished normally on the three boots before. Run again by hand with debug logging, it found only the Wi-Fi switch and exited at once, so the cause is not known. Wi-Fi is the only radio left and nothing on the Pi switches it, so the service has no job. Masking it keeps one boot-time hang from paging again.Refs #1745
Blast radius
heimdallonly. With the unit masked, a radio's soft-block state is no longer saved or restored across boots. Wi-Fi is unblocked (rfkill0soft 0, hard 0) and nothing blocks it. If something ever did, it would stay blocked across a reboot untilrfkill unblock wlan, and the Pi would show asDisplayDownafter two hours.secrets/*.sops.yamlVerification
On
heimdall:systemctl mask --now systemd-rfkill.service systemd-rfkill.socket, thensystemctl is-enabledreadsmaskedfor both,systemctl --failedis empty, and/sys/class/rfkill/rfkill0/softreads 0.DisplayUnitFailedhad cleared at 16:17 once the unit was started successfully, before the mask.Locally:
python3 scripts/check_docs.pypasses../scripts/lint.sh: yamllint, shellcheck, ruff and actionlint pass; markdownlint-cli2, zizmor, packer, tofu and editorconfig-checker were skipped (no docker daemon); ansible-lint failed setting up its tool environment, not on any file, and this PR touches no Ansible. CI runs all of them.make validatepasses (not run; docs only)docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code