on focal 'ubuntu-bug linux' doesn't automatically collect kernel artifacts

Bug #1861446 reported by Seth Arnold
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
High
Brian Murray
Focal
Fix Released
High
Brian Murray

Bug Description

Hello, on focal I ran 'ubuntu-bug linux' to report a kernel issue. The issue was filed against linux-signed-5.4 (Ubuntu) rather than linux (Ubuntu), and none of the logs usually included with kernel bug reports were included.

After the bug was changed from linux-signed-5.4 to linux, I was prompted to run apport-collect by the kernel team's triagebot and that worked successfully:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1861359/+activity

My guess is that apport needs to be updated to understand a change in kernel packaging.

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apport 2.20.11-0ubuntu16
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportLog:

ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
CrashReports:
 640:1000:1000:40192:2020-01-30 03:32:41.717296496 +0000:2020-01-30 03:32:41.717296496 +0000:/var/crash/_usr_bin_apport-bug.1000.crash
 600:0:0:467987:2020-01-24 20:40:35.855434497 +0000:2020-01-24 20:40:35.819434494 +0000:/var/crash/zfsutils-linux.0.crash
 640:0:0:386063:2020-01-24 20:42:09.391725398 +0000:2020-01-24 20:42:08.887728256 +0000:/var/crash/_usr_sbin_zfs.0.crash
Date: Thu Jan 30 18:44:47 2020
PackageArchitecture: all
ProcEnviron:
 TERM=rxvt-unicode-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: Upgraded to focal on 2020-01-24 (5 days ago)

Revision history for this message
Seth Arnold (seth-arnold) wrote :
tags: added: rls-ff-incoming
Revision history for this message
Brian Murray (brian-murray) wrote :

This is actually because the linux source package doesn't reference 5.4.0-12 rather 5.4.0-9.

See https://launchpad.net/ubuntu/+source/linux and 'apt-cache showsrc linux'.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1861446

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: removed: rls-ff-incoming
Revision history for this message
Brian Murray (brian-murray) wrote :

As xnox suggested this morning the issue at hand is a missing symlink. After adding one:

sudo ln -s /usr/share/apport/package-hooks/source_linux.py /usr/share/apport/package-hooks/source_linux-signed-5.4.py

apport gathered the correct information.

tags: added: id-5e3c4e30994bdb87508721cc
Changed in linux (Ubuntu Focal):
status: Confirmed → Invalid
Changed in apport (Ubuntu Focal):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Brian Murray (brian-murray)
importance: Medium → High
Revision history for this message
Seth Forshee (sforshee) wrote :

This should be point at linux-5.4 and not linux-signed-5.4.

Revision history for this message
Brian Murray (brian-murray) wrote : Re: [Bug 1861446] Re: on focal 'ubuntu-bug linux' doesn't automatically collect kernel artifacts

On Tue, Feb 11, 2020 at 10:42:56PM -0000, Seth Forshee wrote:
> This should be point at linux-5.4 and not linux-signed-5.4.

Could you elaborate on exactly what should point to what?

Thanks,
--
Brian Murray

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.20.11-0ubuntu17

---------------
apport (2.20.11-0ubuntu17) focal; urgency=medium

  [ Brian Murray ]
  * Add in a source package hook symlinks for linux-signed-5.4,
    linux-signed-oem-5.4, linux-oem-5.4, and linux-5.4. (LP: #1861446)
  * Remove obsolete package hook for Nexus 7 devices.

  [ Tiago Stürmer Daitx ]
  * Fix Python 2/3 support. (LP: #1853383)

 -- Brian Murray <email address hidden> Fri, 21 Feb 2020 13:16:54 -0800

Changed in apport (Ubuntu Focal):
status: In Progress → Fix Released
Mathew Hodson (mhodson)
no longer affects: linux (Ubuntu Focal)
no longer affects: linux (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.