[Libguestfs] [PATCH] customize, sysprep: add a short SELinux note

Pino Toscano ptoscano at redhat.com
Fri Dec 5 14:28:12 UTC 2014


Add a short paragraph about SELinux, mostly to point to the
documentation about it provided in the documentation of virt-builder.
---
 customize/virt-customize.pod | 8 ++++++++
 sysprep/virt-sysprep.pod     | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/customize/virt-customize.pod b/customize/virt-customize.pod
index a666be7..8dbdfef 100644
--- a/customize/virt-customize.pod
+++ b/customize/virt-customize.pod
@@ -209,6 +209,14 @@ Enable tracing of libguestfs API calls.
 
 __CUSTOMIZE_OPTIONS__
 
+=head1 SELINUX
+
+For guests which make use of SELinux, special handling for them might
+be needed when using operations which create new files or alter
+existing ones.
+
+For further details, see L<virt-builder(1)/SELINUX>.
+
 =head1 EXIT STATUS
 
 This program returns 0 on success, or 1 if there was an error.
diff --git a/sysprep/virt-sysprep.pod b/sysprep/virt-sysprep.pod
index 5b88863..970abce 100644
--- a/sysprep/virt-sysprep.pod
+++ b/sysprep/virt-sysprep.pod
@@ -509,6 +509,14 @@ module:
  cp template.img newguest.img
  virt-sysprep --enable customize -a newguest.img
 
+=head1 SELINUX
+
+For guests which make use of SELinux, special handling for them might
+be needed when using operations which create new files or alter
+existing ones.
+
+For further details, see L<virt-builder(1)/SELINUX>.
+
 =head1 WINDOWS 8
 
 Windows 8 "fast startup" can prevent virt-sysprep from working.
-- 
1.9.3




More information about the Libguestfs mailing list