Re: Core dump of crashing service program

From: Liviu Nicoara <lnicoara_at_thinkoid.org>
Date: Tue, 9 Aug 2022 08:26:07 -0400

On Mon, Aug 8, 2022 at 8:09 PM Alexis <flexibeast_at_gmail.com> wrote:

>
> Liviu Nicoara <lnicoara_at_thinkoid.org> writes:
>
> > ...
>
> i'm not sure why there's a sysctl service on your system, but
> initial kernel parameters such as kernel.core_pattern should be
> able to be set via the sysctl.conf file, as well as (at least for
> Linux kernels) via the kernel command line.
>

It's actually pretty cool. It is a oneshot service that runs all sysctl
settings in /etc/sysctl.d. System is artix.



> Regarding your particular situation, if the reason you're wanting
> a core size of 0 is to avoid core dumps getting created, you could
> try specifying /dev/null as the file for kernel.core_pattern:
>

Quite the opposite, I want coredumps, esp. those originating in crashing
services (e.g., the display manager I am tinkering with, launched via a
service).

Thanks.
Received on Tue Aug 09 2022 - 14:26:07 CEST

This archive was generated by hypermail 2.4.0 : Tue Aug 09 2022 - 14:26:31 CEST