Lessons Learned While Making an AppArmor Play Machine
Talkat Linux Security Summit North America 2025 · on Thursday, 2025-06-26· at 09:55· Bluebird Ballroom (BBB) 3GH·
summary
Demonstrates a VM where everyone logs in as root but is limited solely by AppArmor policies, using Full System Policies (FSP) mode and the apparmor.d toolchain to enforce a role-based tree of profiles. Describes building the live Play Machine (https://play.pujol.io) and publishing profiles and tooling (https://github.com/roddhjav/apparmor.d), debugging profile transitions with kernel audit logs, finding dozens of unexpected profile hops (e.g. ~10 just for motd), and fixing privilege‑leak cases so the demo runs reliably.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 2:11What is AppArmor Play Machine
- 6:09Confining programs with AppArmor
- 9:05AppArmor overview and profiles
- 13:10Confining systemd services
- 17:28Role-based access control
- 21:06Debugging profile transitions
- 26:26Security pitfalls in profiles
- 28:51Capabilities and limits
- 31:41Future directions
- 34:36Conclusion and Q&A








