Public bug reported:
apport / kdump-tools — Conflicting use of /var/crash:
• apport-autoreport.path watches /var/crash via PathChanged=/var/crash.
• kdump-tools.service unconditionally writes /var/crash/kexec_cmd on every boot
via kdump-config.
• Because they start concurrently, any write by kdump-tools trips Apport's
crash-upload service during startup.
• If apport-autoreport.path activates before kdump-tools.service finishes
writing /var/crash/kexec_cmd, inotify captures the write and fires
apport-autoreport.service.
• Since apport-autoreport.service is Type=oneshot, systemd waits for this
process to exit before declaring initial startup complete, inflating userspace
boot time fo ~30s.
### Steps to Reproduce:
1. Ensure kdump-tools and apport are installed and enabled.
2. Generate an unresolved .crash report in /var/crash
3. Reboot the machine repeatedly.
4. Observe some startup times are 30s slower than the others because
whoopsie-upload-all blocks for 30s in its sleep loop before exiting with status
2 (INVALIDARGUMENT).
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: apport 2.34.1-0ubuntu0.1
ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
Uname: Linux 7.0.0-38-generic x86_64
ApportLog: ERROR: apport (pid 74232) 2026-10-10 13:28:47,492: host pid 12403
crashed in a container without apport support
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CrashReports: 644:0:109:269:2026-10-11 08:30:57.172599094 +0200:2026-10-11
08:59:25.314273352 +0200:/var/crash/kexec_cmd
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 11 09:10:09 2026
InstallationDate: Installed on 2025-05-11 (518 days ago)
InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Release amd64 (20250415.3)
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: apport
UpgradeStatus: Upgraded to resolute on 2026-04-25 (169 days ago)
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170477
Title:
Boot sequence inflated for 30 seconds due to race condition in apport
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2170477/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs