[nsd-users] bug with permissions of nsd.db / ixfr.db / ixfr.state ?
paul at xelerance.com
Tue Aug 11 03:39:07 UTC 2009
On Mon, 10 Aug 2009, Matthijs Mekking wrote:
>> I'm running into an issue where the files nsd.db / ixfr.db / ixfr.state
>> are ending up being owned as root instead of nsd, which causes problems
>> later on when it is trying to update these files. I see this for instance
>> when running a nsdc rebuild (as root)
> If you run as root, and do not provide a username, root will of course
> get the ownership of these files.
>> This happens without a "username" option, but also if I specify a
>> "username: nsd" option in the nsd config file.
> This may occur with nsdc rebuild, as the shell script does not take into
> account the configfile. I think I need to add a chown for nsd.db.
And what is the case with nsd patch?
> However, this shouldn't occur for the ixfr.db and xfrd.state file. NSD
> should have dropped permissions before writing these files and thus
> create files as user 'nsd'.
I'll let you know if I run into that again. Perhaps it was an error on
More information about the nsd-users