Re: renaming core dumps

Nick Andrew (nick@zeta.org.au)
Tue, 27 Feb 1996 17:19:19 +1100 (EST)


Forwarding a message from Raul Miller:
> If the daemons were started from cron or inetd you'd probably want an
> instance/version distinction as well.
>
> Seems to me like instancing alone would solve the name conflict
> problem.

Can we control this from a variable in the environment of the process?

Seems to me that the kernel shouldn't be setting the policy here
(although the kernel configurer can set it at build or load time)
and it's the job of cron or inetd to control the way subprocesses
dump core.

IMHO getting 'filename.core' is useful; instancing will add minor
usefulness (by keeping prior dumps around) and add a potential for
denial-of-service attack (by keeping prior dumps around). But that's
my opinion, YMMV. Configure it, by all means.

Nick.