mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 12:47:04 +00:00
restore.sh returned at apparmor_should_manage before it reached apparmor_reinstate_unconfined_restriction. When AppArmor userspace is removed or disabled after teardown, the kernel sysctl still exists, so make environment-teardown left the restriction lifted. The reinstate now runs first; it is a no-op without a recorded value, and the guard still protects the service and profile restore. Reported by CodeRabbit on #1371. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
System Scripts
This directory holds system-facing helpers grouped by area. Use the README in each child directory as the canonical entry point for that area. For the canonical Make target index that invokes these helpers, see make.md.