From f92863e1aa611d3d30f8edb1e183e8ba1eab697a Mon Sep 17 00:00:00 2001 From: Kamil Páral Date: Apr 29 2015 15:20:01 +0000 Subject: builder: explain why we disable SELinux at the moment --- diff --git a/vmbuilder/builder.py b/vmbuilder/builder.py index 529327b..08f711a 100644 --- a/vmbuilder/builder.py +++ b/vmbuilder/builder.py @@ -154,6 +154,13 @@ class Builder(object): ''' script = [] + # we need to disable SELinux at the moment, because there's a bug + # somewhere in virt-builder which prevents login if packages are updated + # and SELinux is enabled. The solution is to use --selinux-relabel + # option, but that relabels the whole disk on the first VM boot, which + # is extremely performance unfriendly for us (every boot is the first + # boot for disposable clients). + # TODO: create a bug report and link it here script.append(shell.disable_selinux) if template['install_libtaskotron']: