Bug#895823: cannot purge dovecot-common

2018-04-20 Thread Lionel Elie Mamane
severity 895823 serious
thanks

On Mon, Apr 16, 2018 at 03:41:19PM +0200, Harald Dunkel wrote:

> The unattended upgrades removed my dovecot.conf file.

This broke my dovecot install with a delay of several days (maybe
linked to log rotation interval, when dovecot is instructed to read
configuration files again?)

In my opinion, this warrants a higher severity for the bug.

> this, I stumbled over this:

> stagemail:/etc/dovecot# dpkg -P dovecot-common

Indeed, the "rm -f" of dovecot.conf is in dovecot-common's purge
action in the postrm file. It looks like every purge attempt will
delete the configuration file again (!)

-- 
Lionel



Bug#895823: cannot purge dovecot-common

2018-04-16 Thread Harald Dunkel

Package: dovecot-core
Version: 1:2.2.27-3+deb9u2

The unattended upgrades removed my dovecot.conf file. Examining
this, I stumbled over this:

stagemail:/etc/dovecot# dpkg -P dovecot-common
(Reading database ... 55196 files and directories currently installed.)
Purging configuration files for dovecot-common (1:1.2.15-7) ...
ucfr: Association belongs to dovecot-core, not dovecot-common
ucfr: Aborting
dpkg: error processing package dovecot-common (--purge):
 subprocess installed post-removal script returned error exit status 5
Errors were encountered while processing:
 dovecot-common


Regards
Harri