From: W.C.A. Wijngaards Date: Thu, 8 Aug 2024 14:14:09 +0000 (+0200) Subject: - Fix that for windows the module startup is called and sets up X-Git-Tag: release-1.21.0~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5abdd09095171d7afdc6ae1f017f3391663c25a8;p=thirdparty%2Funbound.git - Fix that for windows the module startup is called and sets up the module-config. --- diff --git a/doc/Changelog b/doc/Changelog index 64d2a77c3..510eb6673 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -5,6 +5,8 @@ Anat Bremler-Barr, Shoham Danino and Yuval Shavitt (Tel-Aviv University and Reichman University). - Set version number to 1.21.0 for release. + - Fix that for windows the module startup is called and sets up + the module-config. 2 August 2024: Wouter - Fix that alloc stats has strdup checks, it stops debuggers from diff --git a/winrc/win_svc.c b/winrc/win_svc.c index a87d73bf1..49d4251fa 100644 --- a/winrc/win_svc.c +++ b/winrc/win_svc.c @@ -352,6 +352,10 @@ service_init(int r, struct daemon** d, struct config_file** c) daemon_apply_cfg(daemon, cfg); if(!r) report_status(SERVICE_START_PENDING, NO_ERROR, 2300); + if(!r) { + if(!daemon_privileged(daemon)) + fatal_exit("could not do privileged setup"); + } if(!(daemon->rc = daemon_remote_create(cfg))) { log_err("could not set up remote-control"); daemon_delete(daemon);