https://bugzilla.redhat.com/show_bug.cgi?id=1828952#c2
If SELINUXTYPE is set to some value other than targeted then we look
for a directory /etc/selinux/ which does not exist.
However this should not cause a fatal error. Using setfiles to do the
relabelling immediately is a nice-to-have, but we
This shouldn't change the effect of this code.
---
mlcustomize/SELinux_relabel.ml | 121 ++---
1 file changed, 65 insertions(+), 56 deletions(-)
diff --git a/mlcustomize/SELinux_relabel.ml b/mlcustomize/SELinux_relabel.ml
index 44995df..5df1f08 100644
---
$ libguestfs-test-tool
...
libguestfs: launch: version=1.42.0fedora=33,release=5.fc33,libvirt
...
libguestfs: build appliance
libguestfs: error: cannot find any suitable libguestfs supermin, fixed or
old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib/guestfs)
...
It appears that this