Dovecot crashes after logrotate
Dovecot shows as crashed in output of rc-status -a and clients cannot connect to the mail server after logrotate runs and reloads the dovecot configuration at midnight every night. See this in the logs:
Aug 06 02:00:11 dovecot: Warning: SIGHUP received - reloading configuration
Aug 06 02:00:11 dovecot: Panic: file ioloop-iolist.c: line 25 (ioloop_iolist_add): assertion failed: (list->ios[idx] == NULL)
Am able to get dovecot to run by running: /etc/init.d/dovecot restart
Will report this upstream to dovecot developers.
(from redmine: issue id 398, created on 2010-08-06, closed on 2010-08-13)
- Changesets:
- Revision cd2c647d on 2010-08-10T15:14:08Z:
main/dovecot: dont crash when we rotate logs
ref #398
- Revision 5fc09c01 on 2010-08-11T09:36:29Z:
main/dovecot: dont crash when we rotate logs
ref #398
(cherry picked from commit cd2c647df8aa8d12a6ee329efb4459b67567e9bf)
fixes # 398