[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
named support files moving
The named support files have moved from /etc/namedb to /var/named
(this includes named.boot as well). This was done to make running
named in a chroot'd jail simple. With the new setup, running named
chroot'd and as a non-root user (the new "named" user, uid 70) is
as simple as:
named -u named -t /var/named
Where a chroot'd /var/named looks something like this:
xerxes [~] % ls -l /var/named
drwxr-xr-x 2 root bin 512 May 23 13:32 dev/
-r-xr-xr-x 1 root bin 139264 May 23 10:19 named-xfer*
-rw-r--r-- 1 root bin 602 Aug 14 1996 named.boot
-rw-r--r-- 1 root bin 35 May 23 12:47 named.pid
-rw-r--r-- 1 root bin 2769 Aug 24 1997 root.cache
-rw-r--r-- 1 root bin 256 Dec 31 20:36 localhost.rev
named-xfer is now a static binary so it can run in the chroot'd
jail and the dev directory is for a syslog ``log'' socket. If you
run syslogd as "syslogd -a /var/named/dev/log" it will create
an extra socket in /var/named/dev so named can still syslog.
In addition, named now scribbles its argument vector in the second
line of its pid file (similar to what sendmail does). This was done
so that the ndc command can restart named with the correct arguments
even if the kernel has changed.
- todd