[Pkg-libvirt-commits] [libguestfs] 50/87: builder: Clearer note in man page about SELinux and where /.autorelabel file comes from.
Hilko Bengen
bengen at moszumanska.debian.org
Wed Feb 19 21:10:14 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 808807f0ab43d69468bf64325e4c8f8dd7df8cfb
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Tue Jan 21 17:13:35 2014 +0000
builder: Clearer note in man page about SELinux and where /.autorelabel file comes from.
It's not added by virt-builder. It is present in the templates (added
by virt-sysprep in fact).
(cherry picked from commit 88094f3da44eb9871d67a1a015362b7ae20e00dd)
---
builder/virt-builder.pod | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod
index 587f679..e1d0748 100644
--- a/builder/virt-builder.pod
+++ b/builder/virt-builder.pod
@@ -1298,12 +1298,15 @@ 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.
+label, the guest templates have an empty file C</.autorelabel> and
+this causes 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.
+(For further information on the topic of SELinux labelling, see:
+L<https://www.redhat.com/archives/libguestfs/2014-January/msg00183.html>)
+
=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