freebsd-skq/etc/mtree/BSD.var.dist
Doug Barton 8f1bb3891d 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.
2004-09-28 09:46:00 +00:00

85 lines
1.4 KiB
Plaintext

# $FreeBSD$
#
# Please see the file src/etc/mtree/README before making changes to this file.
#
/set type=dir uname=root gname=wheel mode=0755
.
account
..
at
/set uname=daemon
jobs
..
spool
..
/set uname=root
..
/set mode=0750
backups
..
crash
..
cron
tabs mode=0700
..
..
/set mode=0755
db
entropy uname=operator gname=operator mode=0700
..
ipf mode=0700
..
pkg
..
ports
..
..
empty mode=0555 flags=schg
..
games gname=games mode=0775
..
heimdal mode=0700
..
log
..
mail gname=mail mode=0775
..
msgs uname=daemon
..
named uname=root
..
preserve
..
run
named uname=bind gname=bind
..
ppp gname=network mode=0770
..
..
rwho gname=daemon mode=0775
..
spool
lock uname=uucp gname=dialer mode=0775
..
/set gname=daemon
lpd
..
mqueue
..
opielocks mode=0700
..
output
lpd
..
..
/set gname=wheel
..
tmp mode=01777
vi.recover mode=01777
..
..
yp
..
..