** Description changed:

  Dist-upgrading from releases with systemd<=255 (specifically Noble) to
  Resolute is currently failing.
  
  This is caused by the new unit `tmp.mount` (introduced in systemd>=256),
  which will remount /tmp as tmpfs. As this is essentially overwriting
  /tmp, while the the dist-upgrade tool is running in this directory, the
  tool is crashing.
  
  There used to be a workaround (in d/systemd.preinst) that took good care
  of this situation, which is why there were no issues with Plucky and
  Questing. However, after the release of Trixie, the maintainer removed
  this (now obsolete) workaround from the Debian package. With the latest
  sync from upstream, this workaround was also removed for Resolute,
  although it is still needed for upgrading from Noble.
+ 
+ Relevant lines from the crash log:
+ DuplicateSignature:
+  Traceback (most recent call last):
+    File "/tmp/ubuntu-release-upgrader-tmpdir/resolute", line 8, in <module>
+    File "/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeMain.py", 
line 235, in main
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 1985, in run
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 1961, in fullUpgrade
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 1543, in doPostUpgrade
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 280, in openCache
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 304, in _openCache
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeCache.py", line 
173, in __init__
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeConfigParser.py", 
line 89, in getListFromFile
+  FileNotFoundError: [Errno 2] No such file or directory: 
'/tmp/ubuntu-release-upgrader-tmpdir/removal_denylist.cfg'
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: systemd 259-1ubuntu3
  ProcVersionSignature: User Name 6.19.0-9.9-generic 6.19.5
  Uname: Linux 6.19.0-9-generic x86_64
  ApportVersion: 2.33.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudBuildName: server
  CloudID: multipass
  CloudName: multipass
  CloudPlatform: nocloud
  CloudSerial: 20260225
  CloudSubPlatform: config-disk (/dev/sr0)
  CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read 
kernel buffer failed: Operation not permitted
  Date: Thu Mar 12 17:09:03 2026
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  Lsusb-t:
-  
+ 
  Lsusb-v: Error: command ['lsusb', '-v'] failed with exit code 1:
  MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
  ProcEnviron:
-  LANG=C.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
-  XDG_RUNTIME_DIR=<set>
+  LANG=C.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=<set>
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.19.0-9-generic 
root=UUID=e9e564d2-b0d5-4dfb-ad4b-c67dd03e8226 ro console=tty1 console=ttyS0
  SourcePackage: systemd
  UpgradeStatus: Upgraded to resolute on 2026-03-12 (0 days ago)
  acpidump:
-  
+ 
  dmi.bios.date: 02/06/2015
  dmi.bios.release: 0.0
  dmi.bios.vendor: EFI Development Kit II / OVMF
  dmi.bios.version: 0.0.0
  dmi.chassis.type: 1
  dmi.chassis.vendor: QEMU
  dmi.chassis.version: pc-i440fx-8.2
  dmi.modalias: 
dmi:bvnEFIDevelopmentKitII/OVMF:bvr0.0.0:bd02/06/2015:br0.0:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-8.2:cvnQEMU:ct1:cvrpc-i440fx-8.2:sku:
  dmi.product.name: Standard PC (i440FX + PIIX, 1996)
  dmi.product.version: pc-i440fx-8.2
  dmi.sys.vendor: QEMU

** Also affects: systemd (Ubuntu Resolute)
   Importance: Undecided
     Assignee: Oliver Reiche (oreiche)
       Status: New

** Description changed:

  Dist-upgrading from releases with systemd<=255 (specifically Noble) to
  Resolute is currently failing.
  
  This is caused by the new unit `tmp.mount` (introduced in systemd>=256),
  which will remount /tmp as tmpfs. As this is essentially overwriting
  /tmp, while the the dist-upgrade tool is running in this directory, the
  tool is crashing.
  
  There used to be a workaround (in d/systemd.preinst) that took good care
  of this situation, which is why there were no issues with Plucky and
  Questing. However, after the release of Trixie, the maintainer removed
  this (now obsolete) workaround from the Debian package. With the latest
  sync from upstream, this workaround was also removed for Resolute,
  although it is still needed for upgrading from Noble.
  
- Relevant lines from the crash log:
+ Relevant lines from the crash log (full log attached):
  DuplicateSignature:
-  Traceback (most recent call last):
-    File "/tmp/ubuntu-release-upgrader-tmpdir/resolute", line 8, in <module>
-    File "/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeMain.py", 
line 235, in main
-    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 1985, in run
-    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 1961, in fullUpgrade
-    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 1543, in doPostUpgrade
-    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 280, in openCache
-    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 304, in _openCache
-    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeCache.py", line 
173, in __init__
-    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeConfigParser.py", 
line 89, in getListFromFile
-  FileNotFoundError: [Errno 2] No such file or directory: 
'/tmp/ubuntu-release-upgrader-tmpdir/removal_denylist.cfg'
- 
+  Traceback (most recent call last):
+    File "/tmp/ubuntu-release-upgrader-tmpdir/resolute", line 8, in <module>
+    File "/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeMain.py", 
line 235, in main
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 1985, in run
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 1961, in fullUpgrade
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 1543, in doPostUpgrade
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 280, in openCache
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", 
line 304, in _openCache
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeCache.py", line 
173, in __init__
+    File 
"/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeConfigParser.py", 
line 89, in getListFromFile
+  FileNotFoundError: [Errno 2] No such file or directory: 
'/tmp/ubuntu-release-upgrader-tmpdir/removal_denylist.cfg'
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: systemd 259-1ubuntu3
  ProcVersionSignature: User Name 6.19.0-9.9-generic 6.19.5
  Uname: Linux 6.19.0-9-generic x86_64
  ApportVersion: 2.33.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudBuildName: server
  CloudID: multipass
  CloudName: multipass
  CloudPlatform: nocloud
  CloudSerial: 20260225
  CloudSubPlatform: config-disk (/dev/sr0)
  CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read 
kernel buffer failed: Operation not permitted
  Date: Thu Mar 12 17:09:03 2026
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  Lsusb-t:
  
  Lsusb-v: Error: command ['lsusb', '-v'] failed with exit code 1:
  MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
  ProcEnviron:
   LANG=C.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.19.0-9-generic 
root=UUID=e9e564d2-b0d5-4dfb-ad4b-c67dd03e8226 ro console=tty1 console=ttyS0
  SourcePackage: systemd
  UpgradeStatus: Upgraded to resolute on 2026-03-12 (0 days ago)
  acpidump:
  
  dmi.bios.date: 02/06/2015
  dmi.bios.release: 0.0
  dmi.bios.vendor: EFI Development Kit II / OVMF
  dmi.bios.version: 0.0.0
  dmi.chassis.type: 1
  dmi.chassis.vendor: QEMU
  dmi.chassis.version: pc-i440fx-8.2
  dmi.modalias: 
dmi:bvnEFIDevelopmentKitII/OVMF:bvr0.0.0:bd02/06/2015:br0.0:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-8.2:cvnQEMU:ct1:cvrpc-i440fx-8.2:sku:
  dmi.product.name: Standard PC (i440FX + PIIX, 1996)
  dmi.product.version: pc-i440fx-8.2
  dmi.sys.vendor: QEMU

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

Title:
  Upgrading from Noble overwrites /tmp causing dist-upgrade tool to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2144032/+subscriptions


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

Reply via email to