忽略特定程序在 apport 中的崩溃

rub*_*o77 10 apport crash

如果您必须使用经常崩溃的程序,有些人倾向于卸载 apport (您不应该这样做)

那么我们如何从应用程序的通知中排除程序呢?

use*_*.dz 11

apport有我刚刚注意到的黑名单功能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.).
Run Code Online (Sandbox Code Playgroud)

来源: /etc/apport/blacklist.d/README.blacklist

/etc/apport/blacklist.d/like wine, firefox&中已经有一些例子,thunderbird因为它们都有自己的崩溃处理程序(直接上游报告)。

  1. 所以只需在/etc/apport/blacklist.d/.
  2. 将可执行文件的绝对路径放入其中。

  • @ElderGeek,我对名字不太准确。我的意思是在 `/etc/apport/blacklist.d/apport` 中声明的 `wine-preloader`,检查 `head /etc/apport/blacklist.d/*`。二进制文件本身包含在 `wine1.6-i386` 包中。 (2认同)