忽略指定程序的崩溃


10

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

那么,如何才能将程序从审批通知中排除呢?

Answers:


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.).

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

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

  1. 因此,只需在中创建一个新文件/etc/apport/blacklist.d/
  2. 将可执行文件的绝对路径放入其中。

我不认为酒是在那里默认..
野人长老

2
@ElderGeek,我对名字不准确。我的意思是wine-preloader宣布/etc/apport/blacklist.d/apport,检查head /etc/apport/blacklist.d/*。二进制文件本身包含在wine1.6-i386包中。
user.dz
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.