Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Does enabling SELinux "enforcing" in KVM host causing problems in the guests ?

Hi,

I've KVM hypervisor with (Software Raid1) and i've few created VMs .. Does Enabling "SELinux" IN the host affects badly on Raid1 and The guests (VMs) ? or there is no relation?

Is it a recommened approach?

Comments

  • deankdeank Member, Troll
    edited April 2018

    @FHR, you are asking someone to read.

    That is classified as mild torture in modern era. He just wants a yes or no.

    Thanked by 2Aidan rds100
  • IonSwitch_StanIonSwitch_Stan Member, Host Rep

    @Jason4Ever It is easy enough to enable/disable SELinux. Enable it, do a benchmark, disable it, do a benchmark. SELinux shouldn't have a horribly notable impact (1-3%), but science it and report back.

  • KVM guests should not be affected by the host's SELinux configuration.

    SELinux is an RBAC system where access to the system is controlled by a specific set of rules. I mean, if qemu-x86_64 can start a KVM guest with proper network I/O and disk access, I'm pretty sure at that point the rest of the SELinux configs won't matter.

Sign In or Register to comment.