mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-04 08:48:45 +00:00
Introduce explicit AppArmor teardown before docker-up and restore after docker-down. Replace complain-mode helper with full profile unload/reload scripts to ensure deterministic local dev behavior while keeping CI unaffected. https://chatgpt.com/share/697f4782-8304-800f-8b07-cb6484a4148f
12 lines
202 B
Bash
Executable File
12 lines
202 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
echo "[apparmor] restoring profiles"
|
|
|
|
systemctl start apparmor
|
|
systemctl enable apparmor
|
|
|
|
apparmor_parser -r /etc/apparmor.d/*
|
|
|
|
echo "[apparmor] restore complete"
|