[Pkg-libvirt-commits] [libguestfs] 29/233: builder: Document that SELinux guests will reboot for autorelabel.
Hilko Bengen
bengen at moszumanska.debian.org
Wed Feb 19 21:10:44 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit a8c9aedd51a88b3e08d6cc2580053d44b11f716b
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.
---
builder/virt-builder.pod | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod
index 000dfae..c1adfa8 100644
--- a/builder/virt-builder.pod
+++ b/builder/virt-builder.pod
@@ -1607,6 +1607,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