From 309d52f8ce7ca06d160fbe48e655db9a3edb558c9e59bf1e8bd0f812dc2d0123 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 8 Mar 2022 17:51:21 +0000 Subject: [PATCH] - Make sure to create 'systemd-coredump' system user when systemd-coredump is installed (follow-up for the split of the sysusers config files). OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1260 --- systemd.changes | 6 ++++++ systemd.spec | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/systemd.changes b/systemd.changes index 3b3b0786..9ae0c584 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 8 17:50:57 UTC 2022 - Franck Bui + +- Make sure to create 'systemd-coredump' system user when systemd-coredump is + installed (follow-up for the split of the sysusers config files). + ------------------------------------------------------------------- Tue Mar 8 09:41:42 UTC 2022 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 538faeb3..39cdf927 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1127,6 +1127,11 @@ fi %ldconfig %endif +%if %{with coredump} +%post coredump +%sysusers_create systemd-coredump.conf +%endif + %if ! 0%{?bootstrap} %ldconfig_scriptlets -n nss-myhostname %ldconfig_scriptlets -n nss-systemd