|
|
|
|
|
by CrLf
648 days ago
|
|
SELinux suffers from a reputation problem. It gained that reputation early on, while default policies were still very immature and overly restrictive. One crucial change for the better was leaving third-party software in a permissive state. From that point onwards, disabling SELinux is cargo-cult sysadmin'ing. SELinux is not hard if you understand its basic principles. But no one bothers, because SELinux is the bogeyman. Yes, writing policies means getting knee-deep in macros, and it's hard because many services try to access anything and everything. But almost no one needs to write a policy. At most you need to tell SELinux that some non-default directory should have some label. That's not hard. |
|
But that's exactly what I would like to do! I've never seen a real guide for how to set up a policy for a custom daemon I wrote myself. Or when a specific software doesn't come with a policy.