From 956e7fb444fcebd8b681fad337801801d4f73db0 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Fri, 18 Jul 2014 16:20:15 -0700 Subject: [PATCH] systemd: enable capturing coredumps for inspection via coredumpctl Gentoo disabled this functionality because coredumpctl didn't exist yet. It does now and is pretty slick so lets enable this. Dumps are stored in /var/lib/systemd/coredump by default. Optionally they can be stored in the journal by modifying /etc/systemd/coredump.conf --- .../systemd/{systemd-215-r3.ebuild => systemd-215-r4.ebuild} | 3 --- .../coreos-overlay/sys-apps/systemd/systemd-9999.ebuild | 3 --- 2 files changed, 6 deletions(-) rename sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/{systemd-215-r3.ebuild => systemd-215-r4.ebuild} (99%) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-215-r3.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-215-r4.ebuild similarity index 99% rename from sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-215-r3.ebuild rename to sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-215-r4.ebuild index 3472d67633..e2f17a6def 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-215-r3.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-215-r4.ebuild @@ -357,9 +357,6 @@ multilib_src_install_all() { || die rm "${D}"/usr/share/man/man1/init.1 || die - # Disable storing coredumps in journald, bug #433457 - mv "${D}"/usr/lib/sysctl.d/50-coredump.conf{,.disabled} || die - systemd_dotmpfilesd "${FILESDIR}"/systemd-coreos.conf systemd_dotmpfilesd "${FILESDIR}"/systemd-resolv.conf diff --git a/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-9999.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-9999.ebuild index 8d1131d20c..e724dcb218 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-9999.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-9999.ebuild @@ -348,9 +348,6 @@ multilib_src_install_all() { || die rm "${D}"/usr/share/man/man1/init.1 || die - # Disable storing coredumps in journald, bug #433457 - mv "${D}"/usr/lib/sysctl.d/50-coredump.conf{,.disabled} || die - systemd_dotmpfilesd "${FILESDIR}"/systemd-coreos.conf systemd_dotmpfilesd "${FILESDIR}"/systemd-resolv.conf