[Pdns-users] pdns-recursor and CentOS 7

Ernesto Thorp ernesto at corp.globo.com
Sun Nov 13 13:08:15 UTC 2016


Hi Roman,

This is by design.
When using systemd you MUST not demonize your services.
All services starts as a child of systemd, so it  knows you service pid (
-write-pid=no) and all output from your service is redirected to a proper
log (--disable-syslog)
Please take a look on the documentation of Centos7 about systemd for more
information.

Regards

Ernesto Thorp

On Sun, Nov 13, 2016 at 8:29 AM, Roman <m.list at brom.in> wrote:

> Hello,
>
> pdns-recursor installed from powerdns-rec-40 repo.
> Things looks a bit strange, # systemctl start pdns-recursor return "Job
> for pdns-recursor.service failed because a timeout was exceeded. See
> "systemctl status pdns-recursor.service" and "journalctl -xe" for details."
>
> but recursor is started in fact:
> # ps -xa |grep pdns
> 12718 ?        Ssl    0:00 /usr/sbin/pdns_recursor --daemon=no
> --write-pid=no --disable-syslog
> This comes from systemd script:
> # grep ExecStart  /usr/lib/systemd/system/pdns-recursor.service
> ExecStart=/usr/sbin/pdns_recursor --daemon=no --write-pid=no
> --disable-syslog
>
> Is this bug? Why these options is "no"?
> There are no such issues in CentOS 6, it start as daemon and work
> perfectly.
> Thanks.
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20161113/839e463d/attachment.html>


More information about the Pdns-users mailing list