Compare commits
No commits in common. "c8" and "c8-beta" have entirely different histories.
@ -113,11 +113,7 @@ add_dns_netdev() {
|
||||
|
||||
_server=$1
|
||||
_route=`/sbin/ip -o route get to $_server 2>&1`
|
||||
# No netdev to add if DNS server is unreachable
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "DNS server $_server unreachable"
|
||||
return
|
||||
fi
|
||||
[ $? != 0 ] && echo "DNS server $_server unreachable"
|
||||
|
||||
_netdev=$(get_ip_route_field "$_route" "dev")
|
||||
_save_kdump_netifs "$_netdev" "$(kdump_setup_ifname $_netdev)"
|
||||
@ -330,7 +326,7 @@ kdump_setup_ifname() {
|
||||
# fadump to kdump. Skip prefixing 'kdump-' in this case as adding
|
||||
# another prefix may truncate the ifname. Since an ifname with
|
||||
# 'kdump-' is already persistent, this should be fine.
|
||||
if [[ $1 =~ ^eth.* ]] && [[ ! $1 =~ ^kdump-* ]]; then
|
||||
if [[ $1 =~ eth* ]] && [[ ! $1 =~ ^kdump-* ]]; then
|
||||
_ifname="kdump-$1"
|
||||
else
|
||||
_ifname="$1"
|
||||
|
||||
@ -240,7 +240,7 @@ check_user_configured_target()
|
||||
# $1: core_collector config value
|
||||
verify_core_collector() {
|
||||
local _cmd="${1%% *}"
|
||||
local _params="${1#${_cmd}}"
|
||||
local _params="${1#* }"
|
||||
|
||||
if [ "$_cmd" != "makedumpfile" ]; then
|
||||
if is_raw_dump_target; then
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: kexec-tools
|
||||
Version: 2.0.26
|
||||
Release: 14%{?dist}.3
|
||||
Release: 14%{?dist}
|
||||
License: GPLv2
|
||||
Group: Applications/System
|
||||
Summary: The kexec/kdump userspace component
|
||||
@ -396,15 +396,6 @@ 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.*
|
||||
|
||||
* Tue Jun 18 2024 Pingfan Liu <piliu@redhat.com> - 2.0.26-14.1
|
||||
- mkdumprd: Fix makedumpfile parameter check
|
||||
|
||||
* Wed Feb 21 2024 Pingfan Liu <piliu@redhat.com> - 2.0.26-14
|
||||
- dracut-module-setup: Skip initrd-cleanup and initrd-parse-etc in kdump
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user