[Pdns-users] RIPE presentation + Possible fix for Red Hat 'does not run as daemon problem'

Bastiaan van der Put bas at web4friends.com
Thu Jan 29 18:11:15 UTC 2004


tried the patch, it doesnt't fix it for me, RH 7.3.

Btw
noticed it doesnt drop privilliges/runs on the user specified in pdns.conf 
when trying daemon mode.
normal mode does.

Greetings, Bas
At 17:51 1/29/2004, you wrote:
>On http://ds9a.nl/PowerDNS.pdf you can find the presentation I held this
>morning at RIPE 47.
>
>Furthermore, Valgrind spotted a bug that *may* just have caused the observed
>Red Hat 7.x problems where PowerDNS would not run as a daemon. Please try
>the following:
>
>--- dynlistener.cc      16 Jan 2004 22:18:12 -0000      1.8
>+++ dynlistener.cc      29 Jan 2004 16:48:31 -0000
>@@ -101,10 +101,11 @@
>
>      L<<Logger::Warning<<"Listening on controlsocket in 
> '"<<socketname<<"'"<<endl;
>      d_udp=true;
>+    listen(d_s,10);
>    }
>    else
>      d_udp=false;
>-  listen(d_s,10);
>+
>
>  }
>
>
>
>--
>http://www.PowerDNS.com      Open source, database driven DNS Software
>http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
>_______________________________________________
>Pdns-users mailing list
>Pdns-users at mailman.powerdns.com
>http://mailman.powerdns.com/mailman/listinfo/pdns-users



More information about the Pdns-users mailing list