File 0538-Enable-core-dumps-with-systemd-from-initrd.patch of Package dracut.12460

From c15c37986d9387c7f7d1020bd7ca17f890ae6276 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <dmolkentin@suse.com>
Date: Tue, 29 Aug 2017 08:46:07 +0200
Subject: [PATCH] Enable core dumps with systemd from initrd

systemd sets /proc/sys/kernel/core_pattern to use systemd-coredump.
However, systemd-coredump is missing from initrd, making dumping
the core in initrd impossible by default.

Reference: bsc#1054809
---
 modules.d/00systemd/module-setup.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules.d/00systemd/module-setup.sh b/modules.d/00systemd/module-setup.sh
index 86728208..14b3ab07 100755
--- a/modules.d/00systemd/module-setup.sh
+++ b/modules.d/00systemd/module-setup.sh
@@ -33,6 +33,7 @@ install() {
 
     inst_multiple -o \
         $systemdutildir/systemd \
+        $systemdutildir/systemd-coredump \
         $systemdutildir/systemd-cgroups-agent \
         $systemdutildir/systemd-shutdown \
         $systemdutildir/systemd-reply-password \
-- 
2.12.3

openSUSE Build Service is sponsored by