conf/63648: [PATCH] make the startup savecore(8) to compress saved cores by default

Xin LI delphij at frontfree.net
Sat Mar 6 01:43:24 PST 2004


On Sat, Mar 06, 2004 at 12:50:13AM -0800, Kris Kennaway wrote:
> The following reply was made to PR conf/63648; it has been noted by GNATS.
> 
> From: Kris Kennaway <kris at obsecurity.org>
> To: Ruslan Ermilov <ru at FreeBSD.org>
> Cc: freebsd-gnats-submit at FreeBSD.org
> Subject: Re: conf/63648: [PATCH] make the startup savecore(8) to compress saved cores by default
> Date: Sat, 6 Mar 2004 00:50:03 -0800
> 
>  On Tue, Mar 02, 2004 at 10:20:10AM -0800, Ruslan Ermilov wrote:
>  > The following reply was made to PR conf/63648; it has been noted by GNATS.
>  > 
>  > From: Ruslan Ermilov <ru at FreeBSD.org>
>  > To: Xin LI <delphij at frontfree.net>
>  > Cc: bug-followup at FreeBSD.org
>  > Subject: Re: conf/63648: [PATCH] make the startup savecore(8) to compress saved cores by default
>  > Date: Tue, 2 Mar 2004 20:12:52 +0200
>  > 
>  >  On Wed, Mar 03, 2004 at 12:48:01AM +0800, Xin LI wrote:
>  >  [...]
>  >  > On a machine having big RAM, it will be a nightmare to have many 
>  >  > coredumps saved in /var/crash, and compressing it by default will 
>  >  > make unattended boxes possible to have more dumps saved.
>  >  > 	For users do not want to save a compressed coredumps, it 
>  >  > is always possible to set savecore_flags="" in rc.conf. 
>  >  > 
>  >  > Index: rc.conf
>  >  [...]
>  >  > -savecore_flags=""	# Used if dumpdev is enabled above, and present.
>  >  > +savecore_flags="-z"	# Used if dumpdev is enabled above, and present.
>  >  
>  >  I don't see much point making it the default, as it violates POLA.
>  >  Many users expect ``gdb -k'' to just work, without needing to
>  >  uncompress core first.
>  
>  I agree..as you say in your other response, that's what the variable is there for.
I agree, too.

Will someone please close this PR? Thanks :-)

Cheers,
-- 
Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20040306/5dd64abe/attachment.bin


More information about the freebsd-bugs mailing list