[Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel (or any derivative)

Benjamin Drung 2018128 at bugs.launchpad.net
Mon Nov 11 10:22:01 UTC 2024


Before SRUing those changes, there needs to be a fix in plucky. Juerg,
you wrote that you are redoing some of the kernel meta packaging. What
are the Apport related changes there?

Regarding the SRU to noble: There is a apport 2.28.1-0ubuntu3.3 waiting
in the upload queue to fix the autopkgtest of the current
2.28.1-0ubuntu3.2 SRU. Once that SRU is released, this SRU can be done.
I like to combine this noble change with one or two other Apport fixes.

I had an idea: Move /usr/share/apport/package-hooks/source_linux.py from
Apport to linux-base, because all kernel packages depend on it. Then
each kernel binary package can ship a symlink from
/usr/share/apport/package-hooks/${package}.py to
/usr/share/apport/package-hooks/source_linux.py.

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

Title:
  Apport does not collect all logs when the package is HWE kernel (or
  any derivative)

Status in apport package in Ubuntu:
  Triaged
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  [ Impact ]

  Ubuntu 22.04 LTS with kernel 5.19.0-41-generic

  When filing bugs against the package 'linux' apport collects all the logs needed
  to the kernel

  But in case the user is not on stock kernel anymore and has the HWE kernel
  apport only imports 2 logs Dependencies.txt + ProcCpuInfoMinimal.txt

  and forwards the package 'linux' towards linux-signed-hwe-5.19 (in my
  case)

  would it be possible to make apport collect all the logs needed in all
  kernel cases?

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: apport 2.20.11-0ubuntu82.4
  ProcVersionSignature: Ubuntu 5.19.0-41.42~22.04.1-generic 5.19.17
  Uname: Linux 5.19.0-41-generic x86_64
  ApportLog:

  ApportVersion: 2.20.11-0ubuntu82.4
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Apr 29 05:25:30 2023
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

  [ Test Plan ]

  Install a derivative kernel, run 'ubuntu-bug linux-<foo>' and check
  that all necessary logs are collected.

  [ Where Problems Could Occur ]

  The fix adds additional source package hooks and removes some stale
  ones. Potential issue are log collection/upload problems.

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




More information about the Ubuntu-sponsors mailing list