Subject: Re: chrooted bind-8.3.4 problem ("can't make tmpfile...")
To: Rhialto <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 01/05/2003 13:36:43
>Jan 5 14:29:19 azenomei named-xfer: can't make tmpfile (knuffel.net.cache.10641a): Permission denied
>I got the above log message from pkgsrc bind-8.3.4, which is running
>chrooted. It does not mention the full path name but I presume it is
>something like /tmp/... since /var/tmp exists in the chrooted area.
>Earlier I had to change this in my /etc/rc.conf:
>since otherwise it would try to use /usr/pkg/etc/namedb/named.conf.
>I also needed to make a symlink from /var/chroot/named/usr/pkg to . - I
>think this was to get /usr/pkg/libexec/named-xfer to be found.
>I suppose I'll add a symlink from /tmp to var/tmp and see if that helps.
>All this seems rather surprising for a pkg that is supposed to replace a
>system-supplied program due to a serious security issue (NetBSD Security
in your named.conf, you presumably have a line that says
or something like that. named is probably trying to create this
knuffel.net.cache.10641a file somewhere under there. probably in the
same directory as the knuffel.net file. are you secondarying
knuffel.net from somewhere? is the directory into which named has
been configured to store secondary zone files writeable by named?
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."