!439 journal: don't enable systemd-journald-audit.socket

From: @hongjinghao 
Reviewed-by: @openeuler-basic 
Signed-off-by: @openeuler-basic
This commit is contained in:
openeuler-ci-bot 2023-09-15 09:32:47 +00:00 committed by Gitee
commit 62219dd269
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 7a650ee8d3faf79fd5ef866b69741880a3a42b8d Mon Sep 17 00:00:00 2001
From: Jan Synacek <jsynacek@redhat.com>
Date: Thu, 2 May 2019 14:11:54 +0200
Subject: [PATCH] journal: don't enable systemd-journald-audit.socket
---
presets/90-systemd.preset | 1 -
1 file changed, 1 deletion(-)
diff --git a/presets/90-systemd.preset b/presets/90-systemd.preset
index 2b8db9d..25936d8 100644
--- a/presets/90-systemd.preset
+++ b/presets/90-systemd.preset
@@ -24,7 +24,6 @@ enable systemd-homed.service
enable systemd-userdbd.socket
enable systemd-pstore.service
enable systemd-boot-update.service
-enable systemd-journald-audit.socket
disable console-getty.service
disable debug-shell.service
--
2.33.0

View File

@ -21,7 +21,7 @@
Name: systemd
Url: https://www.freedesktop.org/wiki/Software/systemd
Version: 253
Release: 3
Release: 5
License: MIT and LGPLv2+ and GPLv2+
Summary: System and Service Manager
@ -106,6 +106,7 @@ Patch9055: bugfix-for-cgroup-Swap-cgroup-v1-deletion-and-migration.patch
Patch9056: delete-journal-files-except-system.journal-when-jour.patch
Patch9057: set-the-cpuset.cpus-mems-of-machine.slice-to-all-by-.patch
Patch9058: add-a-new-switch-to-control-whether-udev-complies-wi.patch
Patch9059: journal-don-t-enable-systemd-journald-audit.socket.patch
BuildRequires: gcc, gcc-c++
BuildRequires: libcap-devel, libmount-devel, pam-devel, libselinux-devel
@ -1571,6 +1572,9 @@ fi
%{_libdir}/security/pam_systemd.so
%changelog
* Fri Sep 15 2023 hongjinghao <hongjinghao@huawei.com> - 253-5
- journal: don't enable systemd-journald-audit.socket
* Thu Aug 17 2023 wangyuhang <wangyuhang27@huawei.com> - 253-4
- add a new switch to control whether udev complies with the new SAT standards
and add sense_data.py to check if the device meets the new SAT standards