[libvirt] [Libguestfs] [PATCH tck] Relabel SELinux when customizing virt-builder image

Richard W.M. Jones rjones at redhat.com
Mon Mar 19 12:07:22 UTC 2018


On Wed, Feb 07, 2018 at 11:10:25AM +0000, Richard W.M. Jones wrote:
> Yes, in fact I think it could go further and just call
> SELinux_relabel.relabel on every guest, since that code just ignores
> non-SELinux guests.
> 
> Basically the reasons it doesn't do this are historical and possibly a
> fear of breaking if some guest has broken SELinux files.  We could
> retain the ‘--no-selinux-relabel’ flag to mean don't do any
> relabelling.

There's now a bug to track this feature request:

https://bugzilla.redhat.com/show_bug.cgi?id=1554735

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the libvir-list mailing list