From owner-cvs-src@FreeBSD.ORG Tue Sep 28 09:46:00 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFB9616A4D6; Tue, 28 Sep 2004 09:46:00 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D288C43D41; Tue, 28 Sep 2004 09:46:00 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8S9k0H4070559; Tue, 28 Sep 2004 09:46:00 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8S9k0le070558; Tue, 28 Sep 2004 09:46:00 GMT (envelope-from dougb) Message-Id: <200409280946.i8S9k0le070558@repoman.freebsd.org> From: Doug Barton Date: Tue, 28 Sep 2004 09:46:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src UPDATING src/etc Makefile src/etc/defaults rc.conf src/etc/mtree BIND.chroot.dist BSD.root.dist BSD.var.dist src/etc/namedb make-localhost named.conf src/etc/rc.d named X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 09:46:01 -0000 dougb 2004-09-28 09:46:00 UTC FreeBSD src repository Modified files: . UPDATING etc Makefile etc/defaults rc.conf etc/mtree BIND.chroot.dist BSD.root.dist BSD.var.dist etc/namedb make-localhost named.conf etc/rc.d named Log: Create a named chroot directory structure in /var/named, and use it by default when named is enabled. Also, improve our default directory layout by creating /var/named/etc/namedb/{master|slave} directories, and use the former for the generated localhost* files. Rather than using pax to copy device entries, mount devfs in the chroot directory. There may be some corner cases where things need to be adjusted, but overall this structure has been well tested on a production network, and should serve the needs of the vast majority of users. UPDATING has instructions on how to do the conversion for those with existing configurations. Revision Changes Path 1.364 +27 -0 src/UPDATING 1.331 +9 -4 src/etc/Makefile 1.218 +1 -1 src/etc/defaults/rc.conf 1.2 +3 -6 src/etc/mtree/BIND.chroot.dist 1.73 +0 -4 src/etc/mtree/BSD.root.dist 1.70 +2 -0 src/etc/mtree/BSD.var.dist 1.7 +7 -5 src/etc/namedb/make-localhost 1.16 +6 -5 src/etc/namedb/named.conf 1.14 +30 -10 src/etc/rc.d/named