chroot and bind-9.1.0

Maximo Ramos maximo at violadores.org
Thu Mar 1 15:40:12 UTC 2001


Hi

On Thu, Mar 01, 2001 at 03:58:06PM +0000, Josiane Tack wrote:
> I have a problem to localise the directory /var/run, the error message is:
> 
> > Mar  1 10:27:20 firewall /chroot/named/sbin/named[8828]: couldn't open pid 
> >file '/chroot/named/var/run/named.pid': No such file or directory
> 
> 
> It seems to me that the bind daemon is looking for the named.pid file, 
> in the directory:
> /chroot/named/chroot/named/var/run/named.pid

that happened to me as well, try this:

chown named:named /path/path/var/run

so the user named can write in that directory

another workaround is to include in the options statement, in your
named.conf something like:

     pid-file "/path/path/named.pid";             

assuming the user named can write in that directory

Best regards

-- 
----------------------------------------------------
Maximo Ramos


More information about the bind-users mailing list