mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-11 23:05:46 -05:00
- Fix fast_reload to print chroot with config file name.
This commit is contained in:
parent
5eb1382fc0
commit
922c5c3ab3
2 changed files with 9 additions and 2 deletions
|
|
@ -4262,7 +4262,10 @@ fr_read_config(struct fast_reload_thread* fr, struct config_file** newcfg)
|
|||
if(!config_read(*newcfg, fr->worker->daemon->cfgfile,
|
||||
fr->worker->daemon->chroot)) {
|
||||
config_delete(*newcfg);
|
||||
if(!fr_output_printf(fr, "config_read %s failed: %s\n",
|
||||
if(!fr_output_printf(fr, "config_read %s%s%s%s failed: %s\n",
|
||||
(fr->worker->daemon->chroot?"<chroot:":""),
|
||||
(fr->worker->daemon->chroot?fr->worker->daemon->chroot:""),
|
||||
(fr->worker->daemon->chroot?"> ":""),
|
||||
fr->worker->daemon->cfgfile, strerror(errno)))
|
||||
return 0;
|
||||
fr_send_notification(fr, fast_reload_notification_printout);
|
||||
|
|
@ -4271,7 +4274,10 @@ fr_read_config(struct fast_reload_thread* fr, struct config_file** newcfg)
|
|||
if(fr_poll_for_quit(fr))
|
||||
return 1;
|
||||
if(fr->fr_verb >= 1) {
|
||||
if(!fr_output_printf(fr, "done read config file %s\n",
|
||||
if(!fr_output_printf(fr, "done read config file %s%s%s%s\n",
|
||||
(fr->worker->daemon->chroot?"<chroot:":""),
|
||||
(fr->worker->daemon->chroot?fr->worker->daemon->chroot:""),
|
||||
(fr->worker->daemon->chroot?"> ":""),
|
||||
fr->worker->daemon->cfgfile))
|
||||
return 0;
|
||||
fr_send_notification(fr, fast_reload_notification_printout);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
8 April 2025: Wouter
|
||||
- Tag for 1.23.0rc1.
|
||||
- Fix fast_reload to print chroot with config file name.
|
||||
|
||||
7 April 2025: Yorgos
|
||||
- Merge #902: DNS Error Reporting (RFC 9567). Introduces new
|
||||
|
|
|
|||
Loading…
Reference in a new issue