[Pdns-users] Automatic AXFR as slave with 2.9.10 doesn't seem to work right?

bert hubert ahu at ds9a.nl
Fri Aug 22 20:44:37 UTC 2003

On Fri, Aug 22, 2003 at 04:23:28PM -0400, Derrik Pates wrote:

> and 2 are always treated as "magical". I'm attaching a small patch that
> fixes the daemonize() call to reopen those fd's to /dev/null, as is
> standard practice. It should fix the problem permanently.

This breaks the bonafide use of those fds by the guardian pdns_control
socket proxy, which should then have to move to another fd entirely, like,

Your patch is fine as far as it goes but it only papers over the problem -
I'd in fact prefer pdns to die if it tries to write to stdout.

Currently, we at least experience problems when writing to stdout, helping
us to notice the problem.

So thanks for the effort, but this is not currently what I have in mind.


http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

More information about the Pdns-users mailing list