13

If you have to use a program that crashes regularly some people tend to uninstall apport (which you should not).

So how could we exclude a program from apport's notifications?

rubo77
  • 34,024
  • 52
  • 172
  • 299

1 Answers1

14

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.
user.dz
  • 49,176