* Tue May 14 2024 Miroslav Rezanina <mrezanin@redhat.com> - 2.9.1.1-4
- wla-Disable-automatic-log-collector.patch [RHEL-35963] - Resolves: RHEL-35963 ([Azure][WALA] Consider to disable Log collector [rhel-10])
This commit is contained in:
parent
9dbb99db4b
commit
0e6c14d383
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: WALinuxAgent
|
Name: WALinuxAgent
|
||||||
Version: 2.9.1.1
|
Version: 2.9.1.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: The Microsoft Azure Linux Agent
|
Summary: The Microsoft Azure Linux Agent
|
||||||
|
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -12,6 +12,8 @@ Source0: https://github.com/Azure/%{name}/archive/v%{version}.tar.gz
|
|||||||
Source1: module-setup.sh
|
Source1: module-setup.sh
|
||||||
|
|
||||||
Patch1: 0001-waagent.service-set-ConditionVirtualization-microsof.patch
|
Patch1: 0001-waagent.service-set-ConditionVirtualization-microsof.patch
|
||||||
|
# For RHEL-35963 - [Azure][WALA] Consider to disable Log collector [rhel-10]
|
||||||
|
Patch2: wla-Disable-automatic-log-collector.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -58,7 +60,7 @@ Udev rules specific to Microsoft Azure Virtual Machines.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch 1 -p1
|
%autopatch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -121,6 +123,11 @@ install -m0755 -D -t %{buildroot}%{_prefix}/lib/dracut/modules.d/%{dracut_modnam
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 14 2024 Miroslav Rezanina <mrezanin@redhat.com> - 2.9.1.1-4
|
||||||
|
- wla-Disable-automatic-log-collector.patch [RHEL-35963]
|
||||||
|
- Resolves: RHEL-35963
|
||||||
|
([Azure][WALA] Consider to disable Log collector [rhel-10])
|
||||||
|
|
||||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1.1-3
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1.1-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
38
wla-Disable-automatic-log-collector.patch
Normal file
38
wla-Disable-automatic-log-collector.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From 896d0f1edfbfad20c2eecb04fca17e7dc335dfb8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ani Sinha <anisinha@redhat.com>
|
||||||
|
Date: Mon, 6 May 2024 11:50:49 +0530
|
||||||
|
Subject: [PATCH] Disable automatic log collector
|
||||||
|
|
||||||
|
RH-Author: Ani Sinha <anisinha@redhat.com>
|
||||||
|
RH-MergeRequest: 12: Disable automatic log collector
|
||||||
|
RH-Jira: RHEL-35963
|
||||||
|
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
||||||
|
RH-Commit: [1/1] d885b584e6bf7ad7d2169b21bcc12db2b526b651 (anisinha/centos-wa-linux-agent)
|
||||||
|
|
||||||
|
Log collector is enabled by default. Due to security concerns from our customers
|
||||||
|
disable it.
|
||||||
|
|
||||||
|
Jira: https://issues.redhat.com/browse/RHEL-35963
|
||||||
|
Upstream: RHEL only.
|
||||||
|
|
||||||
|
Signed-off-by: Ani Sinha <anisinha@redhat.com>
|
||||||
|
---
|
||||||
|
config/waagent.conf | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/config/waagent.conf b/config/waagent.conf
|
||||||
|
index 7316dc2d..4a345fc0 100644
|
||||||
|
--- a/config/waagent.conf
|
||||||
|
+++ b/config/waagent.conf
|
||||||
|
@@ -70,7 +70,7 @@ Logs.Verbose=n
|
||||||
|
# Logs.Console=y
|
||||||
|
|
||||||
|
# Enable periodic log collection, default is y
|
||||||
|
-Logs.Collect=y
|
||||||
|
+Logs.Collect=n
|
||||||
|
|
||||||
|
# How frequently to collect logs, default is each hour
|
||||||
|
Logs.CollectPeriod=3600
|
||||||
|
--
|
||||||
|
2.39.3
|
||||||
|
|
Loading…
Reference in New Issue
Block a user