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)



 ---- 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