reading casper-md5check.json fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Undecided
|
Brian Murray | ||
Focal |
Fix Released
|
Undecided
|
Brian Murray | ||
Groovy |
Fix Released
|
Undecided
|
Brian Murray | ||
Hirsute |
Fix Released
|
Undecided
|
Brian Murray |
Bug Description
[Impact]
Bugs reported by apport are not including information about the results of the md5 check of the installation media used. Additionally, users are presented with a traceback regarding the ubuntu hook which is used with all bug reports.
[Test Case]
1) Boot an Ubuntu 20.04 LTS or Ubuntu 20.10 install
2) Create the file /var/log/
3) Run 'ubuntu-bug coreutils'
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
......ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
apport.
File "/usr/lib/
with open(location) as json_file:
PermissionError: [Errno 13] Permission denied: '/var/log/
[Where problems could occur]
We are switching to reading the file with attach_
Related branches
Changed in apport (Ubuntu Hirsute): | |
status: | New → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
milestone: | none → ubuntu-21.04 |
tags: | added: fr-1268 |
description: | updated |
Changed in apport (Ubuntu Focal): | |
status: | New → In Progress |
Changed in apport (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in apport (Ubuntu Focal): | |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in apport (Ubuntu Groovy): | |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
This bug was fixed in the package apport - 2.20.11-0ubuntu62
---------------
apport (2.20.11-0ubuntu62) hirsute; urgency=medium
* apport/ hookutils. py: spawn pkttyagent so that log files can be gathered as hookutils. py: root access is needed to read the md5check. json file so switch to using that. (LP: #1922937) hooks/ubuntu. py: improving tagging of bugs from images we
root in a non-graphical environment (LP: #1821415). Thanks to Iain Lane
for the patch.
* apport/
casper-
* data/general-
create so that they are tagged $arch-image and better identify Raspberry
Pi devices (LP: #1920837). Thanks to Dave Jones for the patch.
-- Brian Murray <email address hidden> Wed, 07 Apr 2021 13:14:04 -0700