Ignore specific program's crashes in apport

apport has blacklist feature which I just noticed by dpkg -L apport | grep etc.

# Blacklist for apport
# If an executable path appears on any line in any file in
# /etc/apport/blacklist.d/, apport will not generate a crash report
# for it. Matches are exact only at the moment (no globbing etc.).

source: /etc/apport/blacklist.d/README.blacklist

There are already some examples in /etc/apport/blacklist.d/ like wine, firefox & thunderbird because all have their own crash handler (direct upstream report).

  1. So just create a new file in /etc/apport/blacklist.d/.
  2. Put the absolute path of the executable in it.