[Pkg-freeradius-maintainers] Bug#1024990: freeradius.service needs StartLimitIntervalSec=30s or similar
Schlichting, Florian
schlichting at zib.de
Mon Nov 28 12:33:57 GMT 2022
Package: freeradius
Severity: normal
Dear Maintainer,
a failing freeradius startup is repeated indefinitely, the unit never
ever reaches the FAILED state. This makes it harder than necessary to
see that there is a problem.
freeradius.service sets
Restart=on-failure
RestartSec=5
and in Debian, the defaults for
DefaultStartLimitIntervalSec=10s
DefaultStartLimitBurst=5
are usually in place via /etc/systemd/system.conf.
This means that freeradius is restarted every 5s, but it would have to
be restarted 5 times in 10s to be marked FAILED.
I suggest setting StartLimitIntervalSec=30s in freeradius.service, so
that restarts will be aborted and the unit marked as failed if it is
being restarted more than 5 times in 30s. You may want to make that 60s.
Does that make sense?
Florian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeradius-maintainers/attachments/20221128/a7231c49/attachment.htm>
More information about the Pkg-freeradius-maintainers
mailing list