dovecot is not restarted when remove dovecot-pop3d or dovecot-imapd
Bug #151650 reported by
Mathias Gug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dovecot (Ubuntu) |
Fix Released
|
Medium
|
Mathias Gug |
Bug Description
Binary package hint: dovecot
Package version: 1:1.0.5-1ubuntu1
Step to reproduce:
* Install dovecot-imapd and dovecot-pop3d
* Remove dovecot-pop3d
Result: dovecot is not running at all.
Expected result: dovecot should be running.
Same problem when uninstalling dovecot-imapd.
The problem comes from the fact that dovecot is stopped during prerm, but not restart/reloaded in postrm.
Related branches
To post a comment you must log in.
I've attached a debdiff that fixes the issue.
It also changes the postinst scripts to restart dovecot instead of just starting dovecot (case of an installation).