[Pkg-libvirt-commits] [libguestfs] 93/233: 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:11:21 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 88094f3da44eb9871d67a1a015362b7ae20e00dd
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).
---
 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 eee5492..cf17654 100644
--- a/builder/virt-builder.pod
+++ b/builder/virt-builder.pod
@@ -1715,12 +1715,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