56d8e9c672
- kvm-x86-create-new-pc-q35-machine-type-for-rhel-9.6.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-arm-create-new-virt-machine-type-for-rhel-9.6.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-x86-create-pc-i440fx-machine-type-for-rhel10.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-x86-create-pc-q35-machine-type-for-rhel10.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-arm-create-virt-machine-type-for-rhel10.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-x86-remove-deprecated-rhel-machine-types.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-remove-stale-compat-definitions.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-RH-Author-Shaoqin-Huang-shahuang-redhat.com.patch [RHEL-38374] - kvm-qemu-guest-agent-Update-the-logfile-path-of-qga-fsfr.patch [RHEL-57028] - Resolves: RHEL-29002 (Remove the existing deprecated machine types in RHEL-10) - Resolves: RHEL-29003 (Deprecate RHEL-9 machine types in RHEL-10) - Resolves: RHEL-35587 (Create a pc-i440fx-rhel10.0 machine type) - Resolves: RHEL-38411 ([Fujitsu 10.0 FEAT]: qemu-kvm: Continue to support i440fx for RHEL10) - Resolves: RHEL-45141 (Introduce virt-rhel10.0 arm-virt machine type [aarch64]) - Resolves: RHEL-38374 (aarch64 SMBIOS 'Manufacturer' and 'Product Name' differ from x86 ones [rhel-10]) - Resolves: RHEL-57028 (fsfreeze hooks break on the systems first restorecon [rhel-10])
40 lines
1.6 KiB
Diff
40 lines
1.6 KiB
Diff
From 18c53acff0c50491dddac1e9d023b9ad5f540f7f Mon Sep 17 00:00:00 2001
|
|
From: Dehan Meng <demeng@redhat.com>
|
|
Date: Wed, 4 Sep 2024 16:39:51 +0800
|
|
Subject: [PATCH 9/9] qemu-guest-agent: Update the logfile path of
|
|
qga-fsfreeze-hook.log
|
|
|
|
RH-Author: Dehan Meng <demeng@redhat.com>
|
|
RH-MergeRequest: 269: qemu-guest-agent: Update the logfile path of qga-fsfreeze-hook.log
|
|
RH-Jira: RHEL-57028
|
|
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
RH-Commit: [45/45] eebec1989edade851807d775de75d4d14da01cf2 (6-dehan/src_centosupstream_qemu-kvm)
|
|
|
|
Since '/var/log/qga-fsfreeze-hook.log' is not included to proper
|
|
selinux context 'system_u:object_r:virt_qemu_ga_log_t:s0', it
|
|
should be changed to '/var/log/qemu-ga/qga-fsfreeze-hook.log'. And
|
|
it's worth to mention that this is RHEL-only change for matching
|
|
existing SELinux boolean and policy.
|
|
|
|
Signed-off-by: Dehan Meng <demeng@redhat.com>
|
|
---
|
|
scripts/qemu-guest-agent/fsfreeze-hook | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/scripts/qemu-guest-agent/fsfreeze-hook b/scripts/qemu-guest-agent/fsfreeze-hook
|
|
index e9b84ec028..70536ba3e3 100755
|
|
--- a/scripts/qemu-guest-agent/fsfreeze-hook
|
|
+++ b/scripts/qemu-guest-agent/fsfreeze-hook
|
|
@@ -7,7 +7,7 @@
|
|
# "freeze" argument before the filesystem is frozen. And for fsfreeze-thaw
|
|
# request, it is issued with "thaw" argument after filesystem is thawed.
|
|
|
|
-LOGFILE=/var/log/qga-fsfreeze-hook.log
|
|
+LOGFILE=/var/log/qemu-ga/qga-fsfreeze-hook.log
|
|
FSFREEZE_D=$(dirname -- "$(realpath $0)")/fsfreeze-hook.d
|
|
|
|
# Check whether file $1 is a backup or rpm-generated file and should be ignored
|
|
--
|
|
2.39.3
|
|
|