[Libguestfs] SELinux relabeling: do it by default

Richard W.M. Jones rjones at redhat.com
Tue May 24 12:28:31 UTC 2022


On Tue, May 24, 2022 at 11:04:49AM +0100, Richard W.M. Jones wrote:
> So I didn't realise that these commits break --selinux-relabel, eg:
> 
> $ rpm -q guestfs-tools
> guestfs-tools-1.49.1-1.fc37.x86_64
> $ virt-builder fedora-36 --selinux-relabel
> virt-builder: unrecognized option '--selinux-relabel'
> Try ‘virt-builder --help’ or consult virt-builder(1) for more information.
> 
> This is kind of bad since it breaks existing scripts.  We just had a
> bug report about this from someone who is testing CentOS Stream 9.1
> (where I backported the patches already).
> 
> This option should continue to exist, but do nothing.

RHEL 9.1 bug:

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

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
nbdkit - Flexible, fast NBD server with plugins
https://gitlab.com/nbdkit/nbdkit


More information about the Libguestfs mailing list