Security and minimal templates

Hi,

I noticed that the minimal templates do not include AppArmor/SELinux. It seems that minimalism was chosen over security in this case. Could someone explain the reasoning behind this choice? Would it be beneficial to add SELinux/AppArmor into the minimal templates? Additionally, what other security “features” have been removed from the minimal templates?

Thank you.

1 Like

You will find answers here:

In short: nothing is removed, it’s just not added.

That’s why we call them minimal templates :slight_smile:

As far as I understand, the templates in general are not particularly more secure, it’s a standard fedora or debian system with a few packages installed in order to get a nice experience on Qubes OS.

4 Likes

If someone wants to enable apparmor on a debian minimal template they can run (install apparmor and the apparmor profiles)

qvm-features debian-12-minimal apparmor 1
qvm-features debian-12-minimal supported-service.apparmor 1

No idea if the same command exists for selinux.
but this should help (not tested)