BIND and OpenBSD vs. Chroot Problem

Mark_Andrews at isc.org Mark_Andrews at isc.org
Sun Feb 3 10:44:20 UTC 2002


> I've got my conf and zone files all good (assumed), but am having problems w
> ith
> permissions I beleive. I'm using the latest OpenBSD with BIND 9.1.3 installe
> d.
> The problem I am having I am sure, is with the permissions of the user "name
> d".
> My rc.conf has my "named" flagged to "" and the chroot directory is /var/nam
> ed.
> however, I'm not getting the right results. Everytime I try running "named",
>  it
> cannot find file /etc/named.conf. I've created a symbolic link of
> /var/named/named.conf to /etc/named.conf and chowned the link to the user
> "named". It still isn't finding my conf file. 

	Well it should be /var/named/etc/named.conf not /var/named/named.conf.
	on top of that the link is the wrong way around.

	/etc/named.conf should be a symbolic link to /var/named/etc/named.conf.
> 
> Feb  2 15:33:13 ns1 named[1061]: starting BIND 9.1.3 -t /var/named -u named
> Feb  2 15:33:14 ns1 named[1061]: /etc/named.conf: open: file not found
> Feb  2 15:33:14 ns1 named[1061]: loading configuration: file not found
> Feb  2 15:33:14 ns1 named[1061]: exiting (due to fatal error)
> 
> Any suggestions?
> Thanks.
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list