]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Enable core dumps with systemd from initrd 274/head
authorDaniel Molkentin <dmolkentin@suse.com>
Tue, 29 Aug 2017 06:46:07 +0000 (08:46 +0200)
committerDaniel Molkentin <dmolkentin@suse.com>
Tue, 29 Aug 2017 06:53:35 +0000 (08:53 +0200)
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

index 5da22a93beebcf72ecc2a0475ddabc66dc57cdbe..23d39bbe9503290308cdbbd7bde4a019e37a8c93 100755 (executable)
@@ -33,6 +33,7 @@ install() {
 
     inst_multiple -o \
         $systemdutildir/systemd \
+        $systemdutildir/systemd-coredump \
         $systemdutildir/systemd-cgroups-agent \
         $systemdutildir/systemd-shutdown \
         $systemdutildir/systemd-reply-password \