apport should use journalctl instead of dmesg

Bug #1650499 reported by abdullahc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

1)
$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

2)

$ apt-cache policy apport
apport:
  Installed: 2.20.1-0ubuntu2.2
  Candidate: 2.20.1-0ubuntu2.2
  Version table:
 *** 2.20.1-0ubuntu2.2 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2.20.1-0ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages

3)

apport report should have the complete kernel boot message (like dmesg was using upstart)

4)

I noticed on late bug reports using apport to collect info in Ubuntu 16.04. That apport still using dmesg command which does not show the whole log any more, it missed the boot up messages.

expected solution:

AFAIK, the full boot message could be collected using `journalctl` commmand from systemd package.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apport 2.20.1-0ubuntu2.2
ProcVersionSignature: Ubuntu 4.4.0-53.74-generic 4.4.30
Uname: Linux 4.4.0-53-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
ApportLog:

ApportVersion: 2.20.1-0ubuntu2.2
Architecture: amd64
CrashReports:
 640:1000:116:7681399:2016-12-13 00:39:27.693699598 +0100:2016-12-13 00:39:28.693699598 +0100:/var/crash/_usr_bin_thunar.1000.crash
 664:1000:116:0:2016-12-13 00:39:40.553566707 +0100:2016-12-13 00:39:40.553566707 +0100:/var/crash/_usr_bin_thunar.1000.upload
 640:1000:116:10998770:2016-12-14 18:45:44.058813095 +0100:2016-12-14 18:45:45.058813095 +0100:/var/crash/_usr_bin_parole.1000.crash
 600:109:116:0:2016-12-13 00:39:45.857507643 +0100:2016-12-13 00:39:45.857507643 +0100:/var/crash/_usr_bin_thunar.1000.uploaded
 640:1000:116:425073:2016-12-10 14:14:15.244681119 +0100:2016-12-10 14:14:16.244681119 +0100:/var/crash/_opt_teamviewer_tv_bin_teamviewerd.1000.crash
CurrentDesktop: XFCE
Date: Fri Dec 16 10:49:41 2016
InstallationDate: Installed on 2016-07-09 (159 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
abdullahc (sneetsher) wrote :
Revision history for this message
abdullahc (sneetsher) wrote :

Here is the log example from my other report:

https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1649835

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.