[Libguestfs] [PATCH] Add documentation for SELinux configuration

Matthew Booth mbooth at redhat.com
Wed Aug 12 17:05:23 UTC 2009


On 12/08/09 17:46, Richard W.M. Jones wrote:
>> From da1fc98ac230329a132de02f8019c0f024374459 Mon Sep 17 00:00:00 2001
> From: Richard Jones<rjones at trick.home.annexia.org>
> Date: Wed, 12 Aug 2009 17:40:22 +0100
> Subject: [PATCH 1/2] Add documentation for SELinux configuration.
>
> ---
>   guestfs.pod |   38 ++++++++++++++++++++++++++++++++++++++
>   1 files changed, 38 insertions(+), 0 deletions(-)
>
> diff --git a/guestfs.pod b/guestfs.pod
> index 4d462f3..bc16ecb 100644
> --- a/guestfs.pod
> +++ b/guestfs.pod
> @@ -316,6 +316,11 @@ Only supports Linux guests (not Windows, BSD, etc).
>   Architecture limitations (eg. won't work for a PPC guest on
>   an X86 host).
>
> +=item *
> +
> +For SELinux guests, you may need to enable SELinux and load policy
> +first.  See I<SELINUX>  in this manpage.
> +

I think this should be L</"SELINUX">

> +This will work for running commands and editing existing files.
> +
> +When new files are created, you may need to label them explicitly,
> +for example by running the external command
> +C<restorecon pathname>.
> +

Yup. Looks good.

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490




More information about the Libguestfs mailing list