Setting up an Ubuntu system to capture crash files

This is the procedure for setting up an Ubuntu system for capturing crash files and debugging CES NFS core dump.

This setup is IBM Storage Scale version independent and applies to Ubuntu 16.04.1 and 16.04.2.

  1. Install apport. For more information, see https://wiki.ubuntu.com/Apport.
  2. Modify the /etc/apport/crashdb.conf file and comment this line 'problem_types': ['Bug', 'Package'], as follows:

    # 'problem_types': ['Bug', 'Package'],

    Note: After these steps are performed, crash files are saved to the /var/crash/ folder.
    Verification steps for Ubuntu: After the setup is completed, verify the following:
    1. Run the systemctl status apport.service command to check if Apport service is running.
    2. If Apport service is not running, then start it with the systemctl start apport.service command and again verify whether it has started successfully by running the systemctl status apport.service command.
      Note: Apport modifies the /proc/sys/kernel/core_pattern file. Verify the core_pattern file content starts with |/usr/share/apport/apport.