From 3b37fc5eb0a3080a46f26d04f4e581ee30c136c3 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sat, 24 Sep 2022 10:10:14 +0000 Subject: [PATCH] import kexec-tools-2.0.24-7.el8 --- SOURCES/kdumpctl | 1 + SPECS/kexec-tools.spec | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/SOURCES/kdumpctl b/SOURCES/kdumpctl index ec21495..70bea88 100755 --- a/SOURCES/kdumpctl +++ b/SOURCES/kdumpctl @@ -694,6 +694,7 @@ load_kdump() # and release it. exec 12>&2 exec 2>> $KDUMP_LOG_PATH/kdump.log + chmod 600 $KDUMP_LOG_PATH/kdump.log PS4='+ $(date "+%Y-%m-%d %H:%M:%S") ${BASH_SOURCE}@${LINENO}: ' set -x diff --git a/SPECS/kexec-tools.spec b/SPECS/kexec-tools.spec index 7061908..b245790 100644 --- a/SPECS/kexec-tools.spec +++ b/SPECS/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 2.0.24 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2 Group: Applications/System Summary: The kexec/kdump userspace component @@ -393,6 +393,9 @@ done %endif %changelog +* Sun Sep 18 2022 Pingfan Liu - 2.0.24-7 +- kdumpctl: make the kdump.log root-readable-only + * Mon Jul 18 2022 Pingfan Liu - 2.0.24-6 - kdump-lib: Add the CoreOS kernel dir to the boot_dirlist - kdump-lib: attempt to fix BOOT_IMAGE detection