文件操作 - python_event.conf
返回文件管理
返回主菜单
删除本文件
文件: /etc/libreport/events.d/python_event.conf
编辑文件内容
EVENT=post-create analyzer=Python # (For now this has no effect since python hook doesn't save environ) if grep -q ^ABRT_IGNORE_ALL=1 environ \ || grep -q ^ABRT_IGNORE_PYTHON=1 environ \ ; then echo "ABRT_IGNORE variable is 1 - not saving the crash" # abrtd will delete the problem directory when we exit nonzero: exit 1 fi abrt-action-analyze-python EVENT=report_Bugzilla analyzer=Python component!=anaconda test -f component || abrt-action-save-package-data reporter-bugzilla -b \ -c /etc/libreport/plugins/bugzilla.conf \ -F /etc/libreport/plugins/bugzilla_format.conf \ -A /etc/libreport/plugins/bugzilla_formatdup.conf # Send micro report EVENT=report_uReport analyzer=Python /usr/libexec/abrt-action-ureport # update ABRT database after successful report to bugzilla EVENT=post_report analyzer=Python reporter-ureport -A -B exit 0 # Reporting of python exceptions EVENT=report-gui analyzer=Python component!=anaconda report-gtk -- "$DUMP_DIR" EVENT=report-cli analyzer=Python component!=anaconda report-cli -- "$DUMP_DIR"
修改文件时间
将文件时间修改为当前时间的前一年
删除文件