From: Timo Sirainen Date: Wed, 15 Mar 2023 10:14:54 +0000 (+0200) Subject: master: Don't pass config file in two fds to child processes X-Git-Tag: 2.4.0~2915 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a5b8d2e5b486588b9a2ee6e6423881f6ba9d0b2;p=thirdparty%2Fdovecot%2Fcore.git master: Don't pass config file in two fds to child processes Broken by 1955e81a2ffe023f937d87f2b555bcec0fb4aee9 --- diff --git a/src/master/service-process.c b/src/master/service-process.c index 206ae65fa2..e08891a945 100644 --- a/src/master/service-process.c +++ b/src/master/service-process.c @@ -223,7 +223,6 @@ service_dup_fds(struct service *service) on config process. Note that we don't want to do this for other processes, since it prevents config reload. */ i_assert(global_config_fd != -1); - fd_close_on_exec(global_config_fd, FALSE); if (lseek(global_config_fd, 0, SEEK_SET) < 0) i_fatal("lseek(config fd, 0) failed: %m"); dup2_append(&dups, global_config_fd, MASTER_CONFIG_FD);