Repository : http://git.fedorahosted.org/cgit/docs/networking-guide.git
On branch : master
commit 16de32f235946a13a48c6195c7f22bfdcb7609f3 Author: Stephen Wadeley swadeley@redhat.com Date: Mon Aug 4 11:48:23 2014 +0200
Bug 1118849 - Editing named-chroot config files
Thank you Jim N. and thozza. https://bugzilla.redhat.com/show_bug.cgi?id=1118849#c10
en-US/BIND.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/en-US/BIND.xml b/en-US/BIND.xml index 53a8dda..8c0a08a 100644 --- a/en-US/BIND.xml +++ b/en-US/BIND.xml @@ -172,6 +172,13 @@ </itemizedlist> </para> </note> +<important> + <para> + Editing files which have been mounted in a chroot environment requires creating a backup copy and then editing the original file. Alternatively, use an editor with <quote>edit-a-copy</quote> mode disabled. For example, to edit the BIND's configuration file, <filename>/etc/named.conf</filename>, with Vim while it is running in a chroot environment, issue the following command as <systemitem class="username">root</systemitem>: + <screen>~]# <command>vim -c "set backupcopy=yes" /etc/named.conf</command></screen> + </para> +</important> + <section id="sec-Installing_Bind_In_A_Chroot_Environment"> <title>Installing BIND in a chroot Environment</title> <para>
docs-commits@lists.fedoraproject.org