upstart unable to correctly track dovecot daemon when managesieve plugin is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dovecot (Ubuntu) |
Fix Released
|
High
|
Chuck Short | ||
Maverick |
Fix Released
|
High
|
Chuck Short | ||
upstart (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When the managesieve plugin is enabled it seems that dovecot forks once more than what upstart expects. Upstart tracks the wrong pid with "expect fork" set.
============
Original description
Binary package hint: dovecot-postfix
Dovecot on Maverick is now using upstart to launch dovecot. When dovecot-postfix is installed, the dovecot must have some component as root (for SASL authentification purpose, in order to write to postfix chroot). Problem is, the system can start dovecot on boot, but any attempt into using restart dovecot will result in a hang of upstart. CTRL+C can cancel it, but then dovecot is in a strange state, with half the processus presents in memory. This is not the correct behavior, as we except a smooth restart of such an important service of the mail (especially if SASL authentification of postfix is involved).
As a workaround, I replace the symlink to upstart by the old init.d original script from ubuntu 10.04.1.
I try to figure out a clean solution, but apparently this is inherent to upstart and explains why some package, such as apache, did not go on the upstart train already.
Related branches
Changed in dovecot (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → ubuntu-10.10 |
tags: | added: regression-potential |
tags: | added: server-mrs |
Changed in dovecot (Ubuntu Maverick): | |
assignee: | nobody → Chuck Short (zulcss) |
tags: | added: patch |
description: | updated |
tags: | removed: server-mrs |
tags: |
added: maverick removed: regression-potential |
I am also suffering from the inability to restart dovecot (or stop it) using "sudo service dovecot restart" but unlike the original poster I do not have dovecot-postfix installed only dovecot-common and dovecot-imap.