On Sun, Dec 04, 2016 at 06:24:45AM +0000, P.R.Dinesh wrote: > Thank you for the insight. > Shall I propose the patch with the following behaviour. > > Check if "backtrace is enabled" or "compression is not enabled or not > supported" > Then store the temporary uncompressed file. > If not skip the uncompressed file generation. > > if( backtrace_enabled || ( compression_not_enabled || > compress_not_supported)) > { > generate and store uncompressed coredump > } > else > { > skip uncompressed coredump file, compress the STDIN COREFILE. > }
Sure. To make things even nicer, if backtrace_enabled=1, but we don't have enough disk space to write the uncompressed image, we could force backtrace_enabled=0 and fall back to the else branch. Zbyszek _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel