PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /etc/libreport/events.d/ |
| Server: Linux server1.ngambekcore.com 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 04:00:07 EDT 2025 x86_64 IP: 159.198.77.92 |
| Dir : //etc/libreport/events.d/collect_dnf.conf |
EVENT=notify component=dnf
# there has to be a comment here, otherwise
# the next line is interpreted as a condition
function fetch()
{
for log in $*; do
new_name=${log//\//_}
cp $log $new_name
done
}
logs=`find /var/cache/dnf -iname '*.log'`
fetch $logs
fetch /var/log/dnf.log
# this would fail for a non-priviledged user
journalctl _SYSTEMD_UNIT=dnf-makecache.service &>dnf-makecache.log
fetch /var/log/dnf.transaction.log
if [[ -r username ]]; then
username=`cat username`
if [[ $username != "root" ]]; then
logs=`find /var/tmp -path "/var/tmp/dnf-${username}-*" -iname '*.log'`
fetch $logs
fi
fi