Bug 245114 - dns/unbound: use daemon(8) to recover from crashes
Summary: dns/unbound: use daemon(8) to recover from crashes
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2020-03-27 20:00 UTC by C
Modified: 2020-07-06 13:41 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (jaap)


Note You need to log in before you can comment on or make changes to this bug.
Description C 2020-03-27 20:00:11 UTC

other rc scripts for services use daemon(8) with "-r" to recover from daemon crashes automatically without requiring admin intervention.

Today our unbound resolver (v1.10) crashed but since unbound does not make use of daemon it stayed down until we started it manually - which is worse than it could be.

Please add daemon to unbound's rc script to recover from crashes automatically.

for an example on how to use daemon:
Comment 1 Li-Wen Hsu freebsd_committer 2020-07-03 17:28:14 UTC
ping for maintainer feedback.
Comment 2 Jaap Akkerhuis 2020-07-06 13:41:35 UTC
(In reply to Li-Wen Hsu from comment #1)
Ah, forgot abut this feature request.

It would actually be more beneficial to find out why unbound-s crashing. I'm not sure whether it is a good idea to blindly restart a crashing process. Let me thonk about this.