<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Thanks for the tip! I indeed didn't
have systemd-devel installed. Will go over the other "<span
class="pl-k">BuildRequires" in pdns.spec before I try compiling
again.</span></div>
<div class="moz-cite-prefix"><span class="pl-k"><br>
</span></div>
<div class="moz-cite-prefix"><span class="pl-k">Regards,</span></div>
<div class="moz-cite-prefix"><span class="pl-k">Bart<br>
</span></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Op 6/05/19 om 11:04 schreef Pieter
Lexis:<br>
</div>
<blockquote type="cite"
cite="mid:461655d4-82fb-6f99-0d13-11ba0f8d8f79@powerdns.com">
<pre class="moz-quote-pre" wrap="">Hello Gert and Bart,
On 5/6/19 10:49 AM, Gert van Dijk wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">(just wanted to comment on this, slightly unrelated part)
On Mon, May 6, 2019 at 10:02 AM Bart Mortelmans <a class="moz-txt-link-rfc2396E" href="mailto:powerdns@bart.bim.be"><powerdns@bart.bim.be></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">I actually found out because systemd was restarting the service every
couple of minutes. Turns out that I should have put "Type=simple" in the
.service-file instead of "Type=notify".
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Type=notify should really work. It activates a mechanism that systemd
will talk to the
daemon over a socket about its state (ready, shutting down, etc.),
rather than systemd
assuming that if a process is running that's it's actually ready.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
I think this version was compiled without systemd support. This means we
don't use the notify socket and hence systemd will consider the service
not started after TimeoutSec/TimeoutStartSec (90 seconds by default, see
the DefaultTimeoutStartSec in your /etc/systemd/system.conf for the
configured number). Please install systemd-devel and configure will
detect this (or force its use with --enable-systemd).
On systemd machines we prefer to run as a Type=notify service to ensure
the service manager can be sure we started correctly.
See also our specfile[1] on how we build the packages we ship on
repo.powerdns.com.
Cheers,
Pieter
1 -
<a class="moz-txt-link-freetext" href="https://github.com/PowerDNS/pdns/blob/master/builder-support/specs/pdns.spec">https://github.com/PowerDNS/pdns/blob/master/builder-support/specs/pdns.spec</a>
_______________________________________________
Pdns-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a>
<a class="moz-txt-link-freetext" href="https://mailman.powerdns.com/mailman/listinfo/pdns-users">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>