[Pkg-libvirt-commits] [libguestfs] 22/87: builder: Document that SELinux guests will reboot for autorelabel.

Hilko Bengen bengen at moszumanska.debian.org
Wed Feb 19 21:10:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch debian
in repository libguestfs.

commit 5f2facfab1ce5ec242a26ee73fe65e4e70c100f6
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Jan 10 21:17:09 2014 +0000

    builder: Document that SELinux guests will reboot for autorelabel.
    
    (cherry picked from commit a8c9aedd51a88b3e08d6cc2580053d44b11f716b)
---
 builder/virt-builder.pod | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod
index c6b2df9..f0f06fe 100644
--- a/builder/virt-builder.pod
+++ b/builder/virt-builder.pod
@@ -1253,6 +1253,18 @@ fixed in a future version.
 The qcow2 output format is not supported by UML.  You can only create
 raw-format guests.
 
+=head2 SELINUX
+
+Guests which use SELinux (such as Fedora and Red Hat Enterprise Linux)
+require that each file has a correct SELinux label.
+
+Since virt-builder does not know how to give new files a correct
+label, it touches C</.autorelabel> in the guest and relies on the
+guest to relabel itself at first boot.
+
+This usually means that these guests will reboot themselves once the
+first time you use them.  This is normal, and harmless.
+
 =head1 ENVIRONMENT VARIABLES
 
 For other environment variables which affect all libguestfs programs,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list