From 6f1ea72415c15cdd5e58e7afa6025719555cfea8 Mon Sep 17 00:00:00 2001 From: hongjinghao Date: Fri, 15 Sep 2023 15:27:22 +0800 Subject: [PATCH] journal: don't enable systemd-journald-audit.socket --- ...enable-systemd-journald-audit.socket.patch | 24 +++++++++++++++++++ systemd.spec | 6 ++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 journal-don-t-enable-systemd-journald-audit.socket.patch diff --git a/journal-don-t-enable-systemd-journald-audit.socket.patch b/journal-don-t-enable-systemd-journald-audit.socket.patch new file mode 100644 index 0000000..e51f64d --- /dev/null +++ b/journal-don-t-enable-systemd-journald-audit.socket.patch @@ -0,0 +1,24 @@ +From 7a650ee8d3faf79fd5ef866b69741880a3a42b8d Mon Sep 17 00:00:00 2001 +From: Jan Synacek +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 + diff --git a/systemd.spec b/systemd.spec index db77304..06adadc 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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 - 253-5 +- journal: don't enable systemd-journald-audit.socket + * Thu Aug 17 2023 wangyuhang - 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