mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-19 21:41:05 +02:00
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
This commit is contained in:
parent
f21a6b2a0d
commit
956e7fb444
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user