Tuesday, March 8, 2016

How to disable and remove Apport

Ubuntu 14.04 ships with Apport Error Reporting enabled by default, and as a result, you may experience Internal System Error popups inside Ubuntu. They are part of Apport, an internal debugger which automatically generate reports to submit for packages that crash. Apport can be disabled and removed by using the following commands in a terminal (ctlr+alt+t) :

sudo service apport stop 

sudo apt-get purge apport

"Apport is a system which
  • intercepts crashes right when they happen the first time,
  • gathers potentially useful information about the crash and the OS environment,
  • can be automatically invoked for unhandled exceptions in other programming languages (e. g. in Ubuntu this is done for Python),
  • can be automatically invoked for other problems that can be automatically detected (e. g. Ubuntu automatically detects and reports package installation/upgrade failures from update-manager),
  • presents a UI that informs the user about the crash and instructs them on how to proceed,
  • and is able to file non-crash bug reports about software, so that developers still get information about package versions, OS version etc." (https://wiki.ubuntu.com/Apport)

Apport is safe to remove as it "collects potentially sensitive data, such as core dumps, stack traces, and log files. They can contain passwords, credit card numbers, serial numbers, and other private material. This is mitigated by the fact that it presents you what will be sent to the bug tracker, and that all crash report bugs are private by default, limited to the Ubuntu bug triaging team." (https://askubuntu.com/questions/139424/is-it-safe-to-remove-apport)

No comments:

Post a Comment