[Libguestfs] [common PATCH 0/3] SELinux_relabel: relabel only if enforcing (RHBZ#1828952)

Pino Toscano ptoscano at redhat.com
Wed Sep 23 15:57:47 UTC 2020

Continuation/rework of:

This is my approach, as I explained here:
IOW: do not attempt to relabel if the guest is not enforcing, as it is
either useless or may fail; few words more are in the comments of patch

Pino Toscano (2):
  mlcustomize: refactor reading from /etc/selinux/config
  mlcustomize: do not relabel if not enforcing (RHBZ#1828952)

Richard W.M. Jones (1):
  mlcustomize: Refactor SELinux_relabel code.

 mlcustomize/SELinux_relabel.ml | 153 ++++++++++++++++++++-------------
 1 file changed, 94 insertions(+), 59 deletions(-)


More information about the Libguestfs mailing list