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
  • 32,486

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
  • 48,105
  • I don't think wine is in there by default.. – Elder Geek Oct 04 '16 at 12:54
  • 2
    @ElderGeek, I wasn't precise about name. I meant wine-preloader declared in /etc/apport/blacklist.d/apport, Check head /etc/apport/blacklist.d/* . The binary itself comes within wine1.6-i386 package. – user.dz Oct 04 '16 at 16:37