Public bug reported:

An unattended security upgrade (package dovecot-core) failed,
interrupting mailbox service. The cause was ucf replacing a custom
configuration file which had been diverted (using dpkg-divert) by a
custom configuration package.

Excerpt from /var/log/apt/term.log:
---
Setting up dovecot-core (1:2.2.33.2-1ubuntu4.6) ...
Replacing config file /etc/dovecot/dovecot.conf.custom with new version
ucfr: Attempt from package dovecot-core  to take 
/etc/dovecot/dovecot.conf.custom away from package custom-mail-server
ucfr: Aborting.
dpkg: error processing package dovecot-core (--configure):
 installed dovecot-core package post-installation script subprocess returned 
error exit status 4
---

The underlying issue has been fixed upstream in ucf version 3.0040:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477773

Affected versions:
- Ubuntu 18.04.5 LTS - ucf 3.0038
- Ubuntu 20.04.1 LTS - ucf 3.0038+nmu1

** Affects: ucf
     Importance: Unknown
         Status: Unknown

** Affects: dovecot (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ucf (Ubuntu)
     Importance: Undecided
         Status: New

** Bug watch added: Debian Bug tracker #477773
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477773

** Also affects: ucf via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477773
   Importance: Unknown
       Status: Unknown

** Also affects: dovecot (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891515

Title:
  ucf overwrites diverted configuration file breaking unattended
  upgrades - upstream fix available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ucf/+bug/1891515/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to