apport-bug crashes (Kununtu)

Bug #1899354 reported by ralphb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport-symptoms (Ubuntu)
Fix Released
Medium
Brian Murray

Bug Description

Starting apport-bug from the terminal and then selecting "Sound/audio related problems" crashes apport-bug:

cassiopeia ~ > apport-bug
ERROR: symptom script /usr/share/apport/symptoms/installer.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 95, in thread_collect_info
    package = symb['run'](report, ui)
  File "/usr/share/apport/symptoms/installer.py", line 9, in run
    with os.scandir('/var/log/installer') as entries:
FileNotFoundError: [Errno 2] No such file or directory: '/var/log/installer'

Of course, I never was able to submit ANY bug using apport-bug, because it does not work for other options either.

Revision history for this message
ralphb (dev-endlos) wrote :

As to why there is no /var/log/installer: I installed from a USB stick into a fully encrypted system, so that /var/log/installer file was on the sticks' memory file system, but not in the encrypted filesystem.

affects: apport (Ubuntu) → apport-symptoms (Ubuntu)
Changed in apport-symptoms (Ubuntu):
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport-symptoms - 0.24

---------------
apport-symptoms (0.24) groovy; urgency=medium

  * Resolve crash when /var/log/installer does not exist. (LP: #1899354)

 -- Brian Murray <email address hidden> Mon, 12 Oct 2020 07:35:36 -0700

Changed in apport-symptoms (Ubuntu):
status: In Progress → Fix Released
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.