[Bug 1922937] Re: reading casper-md5check.json fails
Launchpad Bug Tracker
1922937 at bugs.launchpad.net
Thu Apr 8 08:02:24 UTC 2021
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
root in a non-graphical environment (LP: #1821415). Thanks to Iain Lane
for the patch.
* apport/hookutils.py: root access is needed to read the
casper-md5check.json file so switch to using that. (LP: #1922937)
* data/general-hooks/ubuntu.py: improving tagging of bugs from images we
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 <brian at ubuntu.com> Wed, 07 Apr 2021 13:14:04 -0700
** Changed in: apport (Ubuntu Hirsute)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1922937
Title:
reading casper-md5check.json fails
Status in apport package in Ubuntu:
Fix Released
Status in apport source package in Hirsute:
Fix Released
Bug description:
bdmurray at clean-hirsute-amd64:/tmp$ ubuntu-bug plymouth
*** 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/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 228, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/general-hooks/ubuntu.py", line 84, in add_info
apport.hookutils.attach_casper_md5check(report,
File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 995, in attach_casper_md5check
with open(location) as json_file:
PermissionError: [Errno 13] Permission denied: '/var/log/installer/casper-md5check.json'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1922937/+subscriptions
More information about the foundations-bugs
mailing list