diff --git a/change-default-coredump-path.patch b/change-default-coredump-path.patch new file mode 100644 index 0000000000000000000000000000000000000000..df95bfbffc7047c3e4e5589fa784c3444d8dd955 --- /dev/null +++ b/change-default-coredump-path.patch @@ -0,0 +1,25 @@ +From 77ea5b071789c43443bbcc5c4be88d72cdd3b1a0 Mon Sep 17 00:00:00 2001 +From: Yangyang Shen +Date: Sat, 26 Sep 2020 18:53:43 +0800 +Subject: [PATCH] change default coredump path + +--- + sysctl.d/50-coredump.conf.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/sysctl.d/50-coredump.conf.in b/sysctl.d/50-coredump.conf.in +index da76fd7..06b3a87 100644 +--- a/sysctl.d/50-coredump.conf.in ++++ b/sysctl.d/50-coredump.conf.in +@@ -13,7 +13,7 @@ + # the core dump. + # + # See systemd-coredump(8) and core(5). +-kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %P %u %g %s %t %c %h ++kernel.core_pattern=@rootlibexecdir@/core-%e-%p-%t + + # Also dump processes executing a set-user-ID/set-group-ID program that is + # owned by a user/group other than the real user/group ID of the process, or +-- +2.23.0 + diff --git a/systemd.spec b/systemd.spec index ca233fe60f96e3a50d55421285569fdf7d5434eb..1905e8f52f265d2308ca84017bc719a054ca0779 100644 --- a/systemd.spec +++ b/systemd.spec @@ -20,7 +20,7 @@ Name: systemd Url: https://www.freedesktop.org/wiki/Software/systemd Version: 246 -Release: 7 +Release: 8 License: MIT and LGPLv2+ and GPLv2+ Summary: System and Service Manager @@ -67,6 +67,9 @@ Patch0015: journal-don-t-enable-systemd-journald-audit.socket-b.patch Patch0016: systemd-change-time-log-level.patch Patch0017: fix-capsh-drop-but-ping-success.patch Patch0018: 0998-resolved-create-etc-resolv.conf-symlink-at-runtime.patch +%ifarch aarch64 +Patch0019: change-default-coredump-path.patch +%endif BuildRequires: gcc, gcc-c++ BuildRequires: libcap-devel, libmount-devel, pam-devel, libselinux-devel @@ -1490,6 +1493,13 @@ fi %exclude /usr/share/man/man3/* %changelog +* Thu Sep 17 2020 openEuler Buildteam - 246-7 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:change the default coredump without systemd-coredump because of + configuration of 64K page size of kernel on arm + * Thu Sep 17 2020 openEuler Buildteam - 246-7 - Type:enhancement - ID:NA