Public bug reported:

Hi,

I just (twice unsuccessfully) tried to upgrade a virtual cloud machine
running a mailserver to upgrade from 24.04.5 to 26.04.1 using do-
release-upgrade. Luckily I've made a snapshot before, so I could revert
and try again several times.


First try:

dovecot's configuration syntax has changed. Therefore, my local configs,
that were working well under 24.04, cause dovecot to abort with error
messages under 26.04 (I need to recreate them with ansible after update
to change these to new dovecot syntax). It causes dovecot restart to
fail during upgrading, which causes do-release-upgrade to abort the
upgrade process and does not complete (e.g. cleanup, remove old
packages, reboot).


Second try, removed my dovecot configuration before upgrading:

same problem again, because now unconfigured postfix occupies port 587
(submission) and unconfigured dovecot-submission fails with „port in
use“, and again, do-release-upgrade fails and does not finish the job.


Third try: completely removed all dovecot packages before do-release-
upgrade. Success.


So, whatever I do, dovecot breaks the upgrade process, unless dovecot is 
completely removed and reinstalled after upgrade. 


There should be a way to tell do-release-upgrade "For god's sake, just ignore 
that damned process failing and go on, I will and have to fix this after 
completing the upgrade and rebooting" (simply by running ansible again), for 
the simple fact, that I cannot use the new dovecot syntax before having the 
machine run under 26.04.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.29
ProcVersionSignature: Ubuntu 6.8.0-147.147-generic 6.8.12
Uname: Linux 6.8.0-147-generic aarch64
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: arm64
CasperMD5CheckResult: unknown
CloudArchitecture: aarch64
CloudID: hetzner
CloudName: hetzner
CloudPlatform: hetzner
CloudSubPlatform: unknown
CrashDB: ubuntu
Date: Mon Nov  2 00:00:35 2026
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug arm64 dist-upgrade noble

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

Title:
  dovecot breaks do-release-upgrade due to upgrade-induced config
  problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2172732/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to