Import from CS git

This commit is contained in:
eabdullin 2026-02-10 16:48:21 +00:00
parent 8e7df7898c
commit ebc8f610fc
2 changed files with 9 additions and 2 deletions

View File

@ -113,7 +113,11 @@ add_dns_netdev() {
_server=$1
_route=`/sbin/ip -o route get to $_server 2>&1`
[ $? != 0 ] && echo "DNS server $_server unreachable"
# No netdev to add if DNS server is unreachable
if [ $? -ne 0 ]; then
echo "DNS server $_server unreachable"
return
fi
_netdev=$(get_ip_route_field "$_route" "dev")
_save_kdump_netifs "$_netdev" "$(kdump_setup_ifname $_netdev)"

View File

@ -1,6 +1,6 @@
Name: kexec-tools
Version: 2.0.26
Release: 14%{?dist}.2
Release: 14%{?dist}.3
License: GPLv2
Group: Applications/System
Summary: The kexec/kdump userspace component
@ -396,6 +396,9 @@ done
%endif
%changelog
* Wed Nov 12 2025 Pingfan Liu <piliu@redhat.com> - 2.0.26-14.3
- Fix DNS server unreachable
* Tue Jul 30 2024 Pingfan Liu <piliu@redhat.com> - 2.0.26-14.2
- Use the correct regex to match eth.*