| Server IP : 104.21.25.180 / Your IP : 104.23.197.123 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 : /proc/self/root/bin/ |
Upload File : |
#!/bin/sh
INSTALL_DI=true
for opt in "$@"; do
if [ x"$opt" = x"--without-di" ]; then
INSTALL_DI=false
fi
done
if $INSTALL_DI; then
abrt-action-analyze-core --core=coredump -o build_ids || exit $?
# On some systems debuginfo install needs root privileges.
# Running a suided-to-abrt wrapper would make
# debuginfo install fail even for root.
# Therefore, if we are root, we don't use the wrapper.
EXECUTABLE=/usr/libexec/abrt-action-install-debuginfo-to-abrt-cache
if [ x"$(id -u)" = x"0" ]; then
EXECUTABLE=abrt-action-install-debuginfo
fi
# Get VERSION_ID from crash's /etc/os-release (stored as os_info in a dump
# directory).
# We need this value for package managers to configure the correct
# repositories (i.e. '$releasever' for DNF/Yum).
EXTRA_ARGS=
for osrel in "${DUMP_DIR:-.}/os_info_in_rootdir" "${DUMP_DIR:-.}/os_info"
do
if [ -e "$osrel" ]; then
# shellcheck source=/dev/null
. "$osrel"
if [ -n "$VERSION_ID" ]; then
EXTRA_ARGS="--releasever=$VERSION_ID"
break
fi
fi
done
if ${EXECUTABLE} "${EXTRA_ARGS}" --size_mb=4096; then
abrt-action-generate-backtrace && abrt-action-analyze-backtrace
fi
fi