** Description changed:
+ [Impact]
+
+ * The version in Bionic fails to reopen the log which is needed for log
+ rotation
+
+ * Fix by backporting a change from latter versions
+
+ [Test Case]
+
+ * sudo apt install mail-stack-delivery
+ # set log_path = /var/log/dovecot.log in 10-logging.conf:
+ sudo vi /etc/dovecot/conf.d/10-logging.conf
+ sudo systemctl restart dovecot
+
+ In another terminal:
+ sudo mv /var/log/dovecot.log /var/log/dovecot.log.1
+ sudo doveadm log reopen
+
+ Verify that /var/log/dovecot.log is *not* created. That shows the
+ bug.
+
+ [Regression Potential]
+
+ * log handling code is changed, so in theory this could affect log
+ handling. But since only the code for sig_reopen_logs (which is broken
+ without the fix) is changed we should be good.
+ There also is a header change part of the upstream change, that could
+ in theory affect log handling.
+
+ [Other Info]
+
+ * n/a
+
+ ----
+
Version 2.2 comes with lots of bugs, especially this nasty one
https://www.dovecot.org/pipermail/dovecot/2017-November/109971.html
Would be good to bump to 2.3 for Bionic. Thanks!
** Changed in: dovecot (Ubuntu Bionic)
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1777008
Title:
Fix log reopen in >=2.2.33
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1777008/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs