3 ms·
Transparent limitation is a double-edged sword. From an adversarial perspective, it's good since I'm not advertising what my system can and can't do, and poorly
by belthesar 3y ago
Transparent limitation is a double-edged sword. From an adversarial perspective, it's good since I'm not advertising what my system can and can't do, and poorly written software may get hung up on timeouts waiting for things to happen. On the other hand, those same benefits against an adversary are negative constraints to usability, as now silent failures can happen on a system, requiring you to watch your AppArmor logs like a hawk when using new software.
Ultimately, less of a concern for servers that likely have limited scope and use cases, but a significant decrease in usability for workstations.
- bayindirh 3y agoYou need to write an AppArmor profile to limit your software. It’s an opt-in system. The workflow is you put a test system to “complain” mode and use your software as intended, and add the required permissions to the profile by looking at the logs to see what your app is doing. Then you put AppArmor to enforcing mode, add the profile to production system and your application is sandboxed. Iteratively refine as necessary. Debian desktop comes with AppArmor enabled. Nothing has been broken so far.
- mike_hock 3y agoAnd every time you upgrade to the next major release, you start again from square one because the requirements of your software have changed. You get it to work and things seem to be fine. Over time, you start noticing things that are subtly broken, until something just fails completely and doesn't work. The fix turns out to be trivial when you give it another go two days later, but at the time it happened you really didn't have the nerve to deal with it right then. After two dist upgrades, you realize that this approach isn't workable.
- PrimeMcFly 3y ago> And every time you upgrade to the next major release, you start again from square one because the requirements of your software have changed. Nah. That's a huge exaggeration. Most software doesn't change its base behavior like that and certainly not with every new release, and certainly browsers don't.
- bayindirh 3y agoWell, I have two Debian desktop installations. One is six, the other one is ten years old. I never had a problem with either. This is without adding the numerous servers which I just install and forget, and they work without any problems for years. edit: Yes, they're dist-upgraded all the time.