[Bug 1891515] [NEW] ucf overwrites diverted configuration file breaking unattended upgrades - upstream fix available

Oliver O. 1891515 at bugs.launchpad.net
Thu Aug 13 14:38:30 UTC 2020


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
Foundations Bugs, which is subscribed to ucf in Ubuntu.
https://bugs.launchpad.net/bugs/1891515

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

Status in ucf:
  Unknown
Status in dovecot package in Ubuntu:
  New
Status in ucf package in Ubuntu:
  New

Bug description:
  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

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



More information about the foundations-bugs mailing list