Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2007 06:19:37 -0700 (PDT)
From:      Patrick Dung <patrick_dkt@yahoo.com.hk>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-isp@freebsd.org
Subject:   ISC bind9 with dynamic DNS update (chroot problem)
Message-ID:  <413095.46144.qm@web54301.mail.re2.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi

I use FreeBSD 6.2 and the base bind9.
For dynamic DNS update, bind9 automatically generate the journal file
(end in .jnl).
The default config is to use chroot and the running user as 'bind'.

The problem is that after named is started (/etc/init.d/named start),
the default chroot directory /var/named/etc/named permission will be
reset to own by root. So the named daemon (run as user 'bind') cannot
create the journal file and complain:

Jul 27 21:06:54 fbsd62 named[2862]: general: localdomain.db.jnl:
create: permission denied

One temp fix is to use chroot and run as root, any suggestions?

Regards
Patrick


       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?413095.46144.qm>