Richard W.M. Jones a5e6e764c8 mlcustomize: Fall back to autorelabel if specfile does not exist (RHBZ#1828952).
https://bugzilla.redhat.com/show_bug.cgi?id=1828952#c2

Cherry picked from libguestfs-common
commit 101dac2eac8c61f0081c343b5d69cfa4efbc2a98 and backported
to libguestfs 1.40 branch (which predates the common submodule).

If SELINUXTYPE is set to some value other than targeted then we look
for a directory /etc/selinux/<SELINUXTYPE> 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 can fallback to
using autorelabel if we're unable to achieve it.
2021-01-05 10:53:37 +00:00
2019-01-17 12:06:36 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-02-07 14:45:14 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2018-02-22 15:06:13 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-15 14:44:16 +00:00
2019-02-07 14:45:14 +00:00
2017-01-26 15:05:46 +00:00
2019-02-07 14:45:14 +00:00
2019-01-08 11:58:30 +00:00
2019-02-07 14:45:14 +00:00
2019-01-08 11:58:30 +00:00
2016-02-10 14:15:05 +01:00

Libguestfs is tools and a library for accessing and modifying guest
disk images.  For more information see the home page:

  http://libguestfs.org/

For discussion, development, patches, etc. please use the mailing
list:

  http://www.redhat.com/mailman/listinfo/libguestfs

To find out how to build libguestfs from source, read:

  docs/guestfs-building.pod
  http://libguestfs.org/guestfs-building.1.html
  man docs/guestfs-building.1

Copyright (C) 2009-2019 Red Hat Inc.

The library is distributed under the LGPLv2+.  The programs are
distributed under the GPLv2+.  Please see the files COPYING and
COPYING.LIB for full license information.  The examples are under a
very liberal license.
Languages
C 42.7%
OCaml 35.5%
Shell 7.1%
Makefile 4%
Perl 2.6%
Other 8%