apport_prompt doesn't properly check the contents of /etc/default/apport

Bug #1029897 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Invalid
Medium
Brendan Donegan

Bug Description

In trying to debug another issue I noticed that apport_prompt.py wasn't picking up the fact that I had enabled apport in /etc/default/apport. Drilling down a bit it became clear that the call to communicate wasn't being decoded so was returning bytes and the attempt to check if the result equaled the string "1" was always going to fail. I'd also while fixing this be inclined to switch over to using check_output, I think it's clearer.

Related branches

Changed in checkbox:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Brendan Donegan (brendan-donegan)
importance: Low → Medium
Ara Pulido (ara)
Changed in checkbox:
status: In Progress → Fix Committed
Revision history for this message
Marc Tardif (cr3) wrote :

Setting to invalid because the apport_prompt plugin was removed. Not setting to won't fix because this bug was actually fixed already.

Changed in checkbox:
status: Fix Committed → Invalid
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.