From owner-freebsd-stable Mon Nov 15 2:32:11 1999 Delivered-To: freebsd-stable@freebsd.org Received: from s01.arpa-canada.net (s01.arpa-canada.net [209.104.122.2]) by hub.freebsd.org (Postfix) with ESMTP id 178AE14FDF for ; Mon, 15 Nov 1999 02:32:07 -0800 (PST) (envelope-from matt@BabCom.ORG) Received: by s01.arpa-canada.net (Postfix, from userid 1001) id F3245B885; Mon, 15 Nov 1999 05:32:06 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by s01.arpa-canada.net (Postfix) with ESMTP id EB1A8E for ; Mon, 15 Nov 1999 05:32:06 -0500 (EST) Date: Mon, 15 Nov 1999 05:32:06 -0500 (EST) From: matt X-Sender: matt@s01.arpa-canada.net To: FreeBSD-STABLE Subject: chroot & bind 8.2.2-P5 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I just upgraded bind to 8.2.2-P5, and decided that with the recent problems, I would chroot bind. This went very well, I had no problems after following the directions at http://www.psionic.com/papers/dns/dns-openbsd/ (thanks) named runs well, however- I find that when I kill -HUP named to reload the files, I get "cannot open /etc/named.conf" is this just not observing the chroot? It's funny because I have /etc/named.conf symlink'd to the real file which lives in /var/named/etc/named.conf. I do not quite get it why I can't HUP the nameserver... This is quite an annoying problem. Normally, named is started with: /var/named/named -u bind -g bind -t /var/named I also tried: /var/named/named -c /var/named/etc/named.conf -u bind -g bind -t /var/named and for the hell of it: /var/named/named -c /etc/named.conf -u bind -g bind -t /var/named I only have a problem with a kill -HUP though, other then that it works fine. FYI, /var/named/etc/named.conf is mode 640, owned root:bind. ndc also breaks in a few funny ways, but I can live without it, but named dying on HUP is very annoying. Thanks in advance. Matt -- "If the primates that we came from had known that someday politicians would come out of the...the gene pool, they'd a stayed up in the trees and written evolution off as a bad idea. Hell, I always thought the opposable thumb was overrated." -Sheridan, "A Distant Star" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message