<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>Package: freeradius</div>
<div>Severity: normal</div>
<div><br>
</div>
<div>Dear Maintainer,</div>
<div><br>
</div>
<div>a failing freeradius startup is repeated indefinitely, the unit never</div>
<div>ever reaches the FAILED state. This makes it harder than necessary to</div>
<div>see that there is a problem.</div>
<div><br>
</div>
<div>freeradius.service sets</div>
<div><br>
</div>
<div>  Restart=on-failure</div>
<div>  RestartSec=5</div>
<div><br>
</div>
<div>and in Debian, the defaults for</div>
<div><br>
</div>
<div>  DefaultStartLimitIntervalSec=10s</div>
<div>  DefaultStartLimitBurst=5</div>
<div><br>
</div>
<div>are usually in place via /etc/systemd/system.conf.</div>
<div><br>
</div>
<div>This means that freeradius is restarted every 5s, but it would have to</div>
<div>be restarted 5 times in 10s to be marked FAILED.</div>
<div><br>
</div>
<div>I suggest setting StartLimitIntervalSec=30s in freeradius.service, so</div>
<div>that restarts will be aborted and the unit marked as failed if it is</div>
<div>being restarted more than 5 times in 30s. You may want to make that 60s.</div>
<div><br>
</div>
<div>Does that make sense?</div>
<div><br>
</div>
<div>Florian</div>
<p></p>
<p><br>
</p>
</div>
</body>
</html>