testsAndMisc/docs/superpowers/evidence/reflector-dns-retry-2026-11-20.json
Krzysztof kuhy Rudnicki 7d5c19bf88
Some checks are pending
md-naming / markdown naming convention (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (mypy, mypy) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (pylint, pylint) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (rest, ) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (shellcheck, shellcheck) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / lib-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Fix periodic setup: source repo lib first
require_extracted_repo ran before extracted_repos.sh was sourced, and
the source path pointed one level too high, so the installer died at
line 20 since the hosts-blocker extraction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 08:12:40 +01:00

36 lines
1.6 KiB
JSON

{
"intent": "reflector.service no longer stays in systemctl --failed after a boot where DNS comes up after network-online.target.",
"scope": [
"linux_configuration/periodic_background/setup_periodic_system.sh",
"drop-in source lives in kuhyx/system-maintenance systemd/reflector.service.d/retry-on-dns.conf",
"linux_configuration/periodic_background/setup_periodic_system.sh sourced extracted_repos.sh after first use and from the wrong directory"
],
"changes": [
"setup_periodic_system.sh installs the reflector Restart=on-failure drop-in next to periodic-system-startup.service",
"source linux_configuration/lib/extracted_repos.sh before require_extracted_repo is called"
],
"verification": [
{
"command": "bash tests/test_boot_dns_retry.sh (system-maintenance)",
"result": "pass",
"evidence": "red before the drop-in existed, then PASS for both units and systemd-analyze verify"
},
{
"command": "shellcheck linux_configuration/periodic_background/setup_periodic_system.sh",
"result": "pass",
"evidence": "no findings"
},
{
"command": "sudo systemd-run --wait bash setup_periodic_system.sh",
"result": "pass",
"evidence": "red: line 20 require_extracted_repo: command not found; green: rc=0, reflector drop-in live, system-maintenance deploy.sh --check green"
}
],
"risks": [
"Installer aborts if ~/src/system-maintenance is not pulled first (install -D on a missing template)"
],
"rollback": [
"git revert; rm /etc/systemd/system/reflector.service.d/retry-on-dns.conf; systemctl daemon-reload"
]
}