whoopsie cannot report crash reports from live environment

Bug #2036441 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
whoopsie (Ubuntu)
New
High
Unassigned
Mantic
New
High
Unassigned

Bug Description

The .uploaded file corresponding to a crash report had NULL for its contents so I used journalctl to find information about whoopsie and saw the following:

Sep 18 15:28:42 ubuntu systemd[1]: Started whoopsie.service - crash report submission.
Sep 18 15:28:42 ubuntu whoopsie[14510]: [15:28:42] Using lock path: /var/lock/whoopsie/lock
Sep 18 15:28:42 ubuntu whoopsie[14510]: [15:28:42] Parsing /var/crash/_usr_lib_ubiquity_bin_ubiquity.0.crash.
Sep 18 15:28:42 ubuntu whoopsie[14510]: [15:28:42] Unable to parse report (/var/crash/_usr_lib_ubiquity_bin_ubiquity.0.crash): /var/crash/_usr_lib_ubiquity_bin_ubiquity.0.crash could not be opened.
Sep 18 15:28:42 ubuntu systemd[1]: whoopsie.service: Deactivated successfully.

This was on an Ubuntu daily-legacy image dated 20230918.

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: whoopsie 0.2.77
ProcVersionSignature: Ubuntu 6.5.0-5.5-generic 6.5.0
Uname: Linux 6.5.0-5-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.482
CrashReports:
 600:109:116:5:2023-09-18 15:28:42.434625080 +0000:2023-09-18 15:30:28.058067902 +0000:/var/crash/_usr_lib_ubiquity_bin_ubiquity.0.uploaded
 644:1000:1000:0:2023-09-18 15:28:11.774841581 +0000:2023-09-18 15:28:11.774841581 +0000:/var/crash/_usr_lib_ubiquity_bin_ubiquity.0.upload
 640:1000:1000:650635:2023-09-18 15:25:02.717362880 +0000:2023-09-18 15:28:42.410625168 +0000:/var/crash/_usr_lib_ubiquity_bin_ubiquity.0.crash
 640:1000:116:181411:2023-09-18 15:21:05.423967599 +0000:2023-09-18 15:21:06.423967599 +0000:/var/crash/_usr_bin_gnome-shell.1000.crash
CurrentDesktop: ubuntu:GNOME
Date: Mon Sep 18 15:31:48 2023
LiveMediaBuild: Ubuntu Legacy 23.10 "Mantic Minotaur" - Daily amd64 (20230918)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
RelatedPackageVersions: apport-noui N/A
SourcePackage: whoopsie
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Brian Murray (brian-murray) wrote :
tags: added: cuqa-manual-testing rls-mm-incoming
Revision history for this message
Benjamin Drung (bdrung) wrote :

If I read CrashReports correctly /var/crash/_usr_lib_ubiquity_bin_ubiquity.0.crash is owned by 1000:1000 and has permission 640. So only user 1000 can read it. Isn't whoopsie running as root?

Changed in whoopsie (Ubuntu):
importance: Undecided → High
tags: added: foundations-todo
removed: rls-mm-incoming
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.