
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/