mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
The LUKS step of the DR drill died on `The file /dev/mapper/usbdrill does not exist and no size was specified.` -- from mkfs, not from cryptsetup, because luksOpen had exited 0. The node did have a udev, and it had created the mapper entry: as a symlink to ../dm-1. Modern udev no longer mknods, it only manages symlinks, and the /dev/dm-N target it points at is a devtmpfs node that a container's tmpfs /dev never receives. Without a udev libdevmapper creates the node itself, which is why the debian nodes passed -- their image ships no udevd at all, while arch cannot install systemd without one. Masking udevd in the node image removes the whole class rather than one call site. DM_DISABLE_UDEV rides on the node containers instead of the script because the drill opens the volume a second time through the recover CLI in a separate docker exec, which would not inherit an export. The block-device check then fails loudly with both prerequisites named, and closes the mapping first so an abort cannot leak it onto the runner -- device-mapper is not namespaced and every distro round shares the VM. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Script Collection
This directory contains automation scripts used across the project.
-
system/ contains host and system-facing helpers.
-
container/ contains helpers that run inside the local container.
-
github/ contains GitHub workflow helper scripts.
-
For the canonical Make target index, see make.md.
-
🛠️ Organize operational helpers for development, CI, release, and maintenance
-
🧭 Separate responsibilities into focused subdirectories with clear scope
-
📚 Keep script-based workflows discoverable and easier to navigate
The scope of this folder is script organization at the repository level. Detailed responsibilities belong in the README files of the respective subdirectories.