12 ms·
Why not use both? They are not complementary.
by kaba0 5y ago
Why not use both? They are not complementary.
- candiddevmike 5y agoWhy would you use SELinux along with systemd? Systemd can do filesystem permissions declaratively vs SELinux having to label the files individually, e.g.: [Service] ProtectSystem=strict ReadWritePaths=/some/path ReadOnlyPaths=/some/otherpath InaccessiblePaths=/etc
- PeterWhittaker 5y agoOne can write extraordinarily short FC files using regexp to apply specific SELinux labels as desired, and control access to those labels with only a few rules. Unlike systemd, they then apply to everything.