[Dovecot] Really strange race condition when reading an untouched LUA file on slower systems

This commit is contained in:
andryyy
2019-12-05 10:14:41 +01:00
parent 4715245697
commit b7a749208d
2 changed files with 5 additions and 1 deletions

View File

@@ -306,4 +306,8 @@ for file in /hooks/*; do
fi
done
# For some strange, unknown and stupid reason, Dovecot may run into a race condition, when this file is not touched before it is read by dovecot/auth
# May be related to something inside Docker, I seriously don't know
touch /var/lib/dovecot/app-passdb.lua
exec "$@"