29 points

SELinux has long suffered from usability issues. Many commercial software packages require SELinux be disabled.

Fix the docs, improve error messages, and create a GUI to improve usage.

permalink
report
reply
11 points

Hate to be the type of person to comment this, but patches more than welcome

for real though, even a small contribution to the docs helps a ton

permalink
report
parent
reply
10 points
*
Deleted by creator
permalink
report
parent
reply
11 points

I agree, but I don’t expect software companies to support it without clear documentation.

permalink
report
parent
reply
10 points
*
Deleted by creator
permalink
report
parent
reply
28 points

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

permalink
report
reply
16 points

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

permalink
report
parent
reply
6 points

But the profiles are pretty poor and basic AFAIK.

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply

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

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply

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

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
2 points

Maybe Opensuse?

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
21 points

SELinux will not magically make your system more secure. Desktop insecurity mostly boils down to poor user choices. E.g Granting vscode full access to your home folder and installing some random extension.

Flatpaks and similar “container” tools are the obvious tools to use if you care about desktop security which the Linux ecosystem still generally deems as a lesser priority over being able to gain “rootful” permissions to carry out administrative tasks.

permalink
report
reply
5 points

Nothing will make your system magically more secure, but SELinux is of great help when properly set up (as is in the case of Fedora).

permalink
report
parent
reply
4 points

Flatpak using either apparmor or selinux

permalink
report
parent
reply
2 points

neither, it uses bubblewrap, snap is the one that uses apparmor

permalink
report
parent
reply
11 points

Anyone even slightly interested in this, join!

Seriously, I didn’t know jack about SELinux before joining the SIG and now I know a little less than jack about it (I tried confining my user and managed to be unable to login to my system)

permalink
report
reply
2 points

I’m interested. Can you tell me more about it?

permalink
report
parent
reply
2 points

You can just take a look at the links in the thread if you want to start testing, and can help report issues with your experiences in our Pagure repo, I still need to report mine to mnow if it’s a thing with GDM or if I just did something wrong

permalink
report
parent
reply
1 point

Okay. Also how beneficial would this be for my résumé if I’m trying to get into cyber security field?

permalink
report
parent
reply
9 points

A bit dated experience, but I wanted to make a ‘simple’ web app (nginx/fpm/psql) SELinux compatible in 2014.

After reading the docs, it seemed I needed three layers of configuration just to make a policy. For two ports and two folders, that seemed way too complicated and absolutely not worth it.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 7.7K

    Monthly active users

  • 6.5K

    Posts

  • 179K

    Comments