NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/57952 (dhcpcd(8) inexplicably terminated in the night)
The following reply was made to PR bin/57952; it has been noted by GNATS.
From: Roy Marples <roy%marples.name@localhost>
To: "gnats-bugs" <gnats-bugs%netbsd.org@localhost>
Cc: "Martin Husemann" <martin%duskware.de@localhost>,
"gnats-admin" <gnats-admin%netbsd.org@localhost>,
"netbsd-bugs" <netbsd-bugs%netbsd.org@localhost>,
"campbell+netbsd" <campbell+netbsd%mumble.net@localhost>
Subject: Re: bin/57952 (dhcpcd(8) inexplicably terminated in the night)
Date: Fri, 23 Feb 2024 09:26:13 +0000
---- On Fri, 23 Feb 2024 09:10:02 +0000 Martin Husemann wrote ---
> On Fri, Feb 23, 2024 at 03:10:17AM +0000, Taylor R Campbell wrote:
> > Could dhcpcd sprout an option to enable core dumps or something, or is
> > there an easy way to do that out of the box already?
>
> Create a writable /tmp in the chroot and set kern.defcorename = /tmp/%n.core
> (and be prepared to find any other core files in /tmp/ while this is
> in effect).
Good idea!
Does that work when the process is locked down so it can't create new files?
https://github.com/NetworkConfiguration/dhcpcd/blob/master/src/privsep.c#L146
Roy
Home |
Main Index |
Thread Index |
Old Index