Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONiC core dump utility #3499

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Sep 20, 2019

  1. SONiC core dump utility

    - Install systemd-coredump in base o/s
    - Remove existing simple coredump facility
    - Enable persistent journald to store coredump history
    - Minimal default coredump configuration
    - Added a coredump-config service to generate coredump configuration
    
    Core files generated by kernel are created by the host o/s and also stored
    on host o/s. This applies for processes running inside container as well.
    Containers do not have access to journal as well as core files. Containers
    are supposed to have limited access to host o/s and core files and journal
    may contain sensitive information.
    
    Toimprove debugging of crashes inside a container following changes are made:
    
    - when INSTALL_DEBUG_TOOLS=y is set in the build. systemd-coredump tool
    is installed in all containers beside gdb
    
    - When SONIC_DEBUGGING_ON=y is set in the build,
      /var/log/journal and /var/lib/systemd/coredump are mapped inside container
    
    To inspect a core file, from a container shell, issue below commands
    
    docker exec -ti <container-name> /bin/bash
    rajendra-dendukuri committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    3c5b6e0 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2019

  1. Configuration menu
    Copy the full SHA
    130a7d4 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2020

  1. Configuration menu
    Copy the full SHA
    606d888 View commit details
    Browse the repository at this point in the history