From: Timo Sirainen Date: Mon, 12 Dec 2022 23:10:02 +0000 (+0200) Subject: master: Make sure config reload never causes execing doveconf X-Git-Tag: 2.4.0~3091 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c4d4e591f159988a29ce2bdaf10f36f8fc318a2;p=thirdparty%2Fdovecot%2Fcore.git master: Make sure config reload never causes execing doveconf This could have happened if there was an error reading configuration via config socket. This would have caused master process to restart, which would have messed up everything. --- diff --git a/src/master/main.c b/src/master/main.c index e12b694e32..f4835a3ab9 100644 --- a/src/master/main.c +++ b/src/master/main.c @@ -419,6 +419,7 @@ sig_settings_reload(const siginfo_t *si ATTR_UNUSED, input.roots = set_roots; input.module = MASTER_SERVICE_NAME; input.config_path = services_get_config_socket_path(services); + input.never_exec = TRUE; if (master_service_settings_read(master_service, &input, &output, &error) < 0) { i_error("Error reading configuration: %s", error);