Custom core dump folder ?

2013-04-04 Thread Jack N. Asher
Is there a way to specify a custom core dump folder in OpenBSD ? I do
not see any references to it in sysctl -a
If not, is there a security reason for it not being supported or can
it be added to a wishlist ?

This is the FreeBSD way (AFAIK, OpenBSD does not support it):

sysctl.conf

kern.corefile="/custom-folder/%U.%N.core"



Re: Custom core dump folder ?

2013-04-04 Thread Jack N. Asher
If there is a list of daemons, etc. running 24/7, it would be useful
if they all dumped in 1 folder rather than using a script to search
for them. This way we will actually notice when a core dumps; the core
is not buried deep inside a current-working-directory waiting for it
to be discovered by some script. Even Python dumps core sometimes.

Anyway, my $0.02.

On Thu, Apr 4, 2013 at 5:02 PM, Ted Unangst  wrote:
> On Thu, Apr 04, 2013 at 15:37, Jack N. Asher wrote:
>> Is there a way to specify a custom core dump folder in OpenBSD ? I do
>> not see any references to it in sysctl -a
>> If not, is there a security reason for it not being supported or can
>> it be added to a wishlist ?
>
> It is not supported, probably because nobody found any use for it.
>
> You can add anything you like to your wishlist, just keep your expectations
> in check. :)