106
submitted 11 months ago by Pantherina@feddit.de to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] NanoooK@sh.itjust.works 28 points 11 months ago

Is Fedora the only mainstream desktop distribution to ship with SELinux?

[-] eeleech@lemm.ee 16 points 11 months ago

afaik yes, at least the arch kernel has selinux enabled, but you need to install the user space tools from the AUR.

[-] ladyanita22@lemmy.world 6 points 11 months ago

But the profiles are pretty poor and basic AFAIK.

[-] Sh1nyM3t4l4ss@lemmy.world 5 points 11 months ago

I'm not aware of another one. Some other distros like Ubuntu and OpenSUSE ship AppArmor instead, which does similar things but isn't considered quite as secure.

I know plenty of other popular distros don't ship any Mandatory Access Control system at all which seems like a very bad security practice to me. Same thing with Firewalls.

Nitpick: it's not that AppArmor isn't as secure, it's just that SELinux is more powerful. The security always is up to the profiles.
If you were to compare the policies for Fedora and e.g. Debian, I would assume Fedora has better ones though lol

[-] ladyanita22@lemmy.world 3 points 11 months ago

For sure. I believe Debian's AppArmor integration is a little bit of an afterthought and there's lots of patches missing as Canonical likes to keep many improvements downstream.

[-] Neon@lemmy.world 6 points 11 months ago* (last edited 11 months ago)

yeah, same. I am currently on NixOS, but looking to move away because it's lacking support any MAC. I really love NixOS and it's declarative approach to things, but i can't live with such a large security hole in my home Network.

As soon as i find a Distro that has MAC and allows for at least semi-declarative configuration, i am switching. But being able to declare an env/dconf setting in my config and sync it across all devices is just too powerful

[-] ladyanita22@lemmy.world 3 points 11 months ago

I suggest you check Silverblue + Ansible (or CoreOS/IoT for server stuff).

[-] Neon@lemmy.world 1 points 11 months ago* (last edited 11 months ago)

while i think that ansible is really cool, it's not the same as Nix.

correct me if i'm wrong, but afaik Ansible just modifies the current state of the System with a declarative configuration.

Nix reverts your system back to install and then applies the configuration. The result is that in Nix if i remove something from the configuration.nix it is as if it never existed, whereas on Ansible it stays unless i manually run a task to uninstall it.

[-] Pantherina@feddit.de 2 points 11 months ago
[-] NanoooK@sh.itjust.works 3 points 11 months ago

From what I've found it's not implemented by default.

this post was submitted on 05 Oct 2023
106 points (96.5% liked)

Linux

47214 readers
755 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS